Skip to content

Commit 0079d6e

Browse files
johnkeepingjrn
authored andcommitted
Documentation/Makefile: make AsciiDoc dblatex dir configurable
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 <[email protected]> Signed-off-by: Jonathan Nieder <[email protected]>
1 parent 5689503 commit 0079d6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ MAKEINFO = makeinfo
103103
INSTALL_INFO = install-info
104104
DOCBOOK2X_TEXI = docbook2x-texi
105105
DBLATEX = dblatex
106+
ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
106107
ifndef PERL_PATH
107108
PERL_PATH = /usr/bin/perl
108109
endif
@@ -354,7 +355,7 @@ user-manual.texi: user-manual.xml
354355

355356
user-manual.pdf: user-manual.xml
356357
$(QUIET_DBLATEX)$(RM) $@+ $@ && \
357-
$(DBLATEX) -o $@+ -p /etc/asciidoc/dblatex/asciidoc-dblatex.xsl -s /etc/asciidoc/dblatex/asciidoc-dblatex.sty $< && \
358+
$(DBLATEX) -o $@+ -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty $< && \
358359
mv $@+ $@
359360

360361
gitman.texi: $(MAN_XML) cat-texi.perl

0 commit comments

Comments
 (0)