Skip to content

Commit 5163d47

Browse files
committed
Use project config files
Use project-wide files to process documentation for git-subtree. Signed-off-by: David A. Greene <[email protected]>
1 parent c96c538 commit 5163d47

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

contrib/subtree/Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ INSTALL_DATA = $(INSTALL) -c -m 0644
1010
INSTALL_EXE = $(INSTALL) -c -m 0755
1111
INSTALL_DIR = $(INSTALL) -c -d -m 0755
1212

13+
ASCIIDOC_CONF = ../../Documentation/asciidoc.conf
14+
MANPAGE_NORMAL_XSL = ../../Documentation/manpage-normal.xsl
15+
1316
default:
1417
@echo "git-subtree doesn't need to be built."
1518
@echo "Just copy it somewhere on your PATH, like /usr/local/bin."
@@ -31,12 +34,12 @@ install-doc: git-subtree.1
3134
doc: git-subtree.1
3235

3336
%.1: %.xml
34-
xmlto -m manpage-normal.xsl man $^
37+
xmlto -m $(MANPAGE_NORMAL_XSL) man $^
3538

3639
%.xml: %.txt
37-
asciidoc -b docbook -d manpage -f asciidoc.conf \
40+
asciidoc -b docbook -d manpage -f $(ASCIIDOC_CONF) \
3841
-agit_version=$(gitver) $^
39-
42+
4043
test:
4144
./test.sh
4245

0 commit comments

Comments
 (0)