git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation/Makefile: make AsciiDoc dblatex dir configurable

From
John Keeping <john@keeping.me.uk>
Date
Oct 3, 2013, 19:17 UTC
Message-ID
<6c148f88f6efb7c5d7a9a03f8383b47f939b36ec.1380827852.git.john@keeping.me.uk>

On my system this is in /usr/share/asciidoc/dblatex not /etc/asciidoc/dblatex. Extract this portion of the path to a variable so that is can be set in config.mak.

Signed-off-by: John Keeping <john@keeping.me.uk>
---
 Documentation/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 0cfdc36..4f13a23 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -103,6 +103,7 @@ MAKEINFO = makeinfo
 INSTALL_INFO = install-info
 DOCBOOK2X_TEXI = docbook2x-texi
 DBLATEX = dblatex
+ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
 ifndef PERL_PATH
 	PERL_PATH = /usr/bin/perl
 endif
@@ -354,7 +355,7 @@ user-manual.texi: user-manual.xml
 
 user-manual.pdf: user-manual.xml
 	$(QUIET_DBLATEX)$(RM) $@+ $@ && \
-	$(DBLATEX) -o $@+ -p /etc/asciidoc/dblatex/asciidoc-dblatex.xsl -s /etc/asciidoc/dblatex/asciidoc-dblatex.sty $< && \
+	$(DBLATEX) -o $@+ -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty $< && \
 	mv $@+ $@
 
 gitman.texi: $(MAN_XML) cat-texi.perl
-- 
1.8.4.566.g73d370b
Next: Jonathan Nieder
Message 1 of 3 in “Documentation/Makefile: make AsciiDoc dblatex dir configurable”
  1. Documentation/Makefile: make AsciiDoc dblatex dir configurableJohn Keeping, Oct 3, 2013
  2. Jonathan NiederOct 3, 2013
  3. Miklos VajnaOct 4, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.