summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c96c538)
raw | patch | inline | side by side (parent: c96c538)
author | David A. Greene <greened@obbligato.org> | |
Sun, 29 Jan 2012 22:17:43 +0000 (16:17 -0600) | ||
committer | David A. Greene <greened@obbligato.org> | |
Tue, 10 Apr 2012 03:25:58 +0000 (22:25 -0500) |
Use project-wide files to process documentation for git-subtree.
Signed-off-by: David A. Greene <greened@obbligato.org>
Signed-off-by: David A. Greene <greened@obbligato.org>
contrib/subtree/Makefile | patch | blob | history |
index 91e0cc08ea514a954bd3bab035baf0eadac6644e..21130af6f665599ff324b918b76023fa91b3f0a9 100644 (file)
--- a/contrib/subtree/Makefile
+++ b/contrib/subtree/Makefile
INSTALL_EXE = $(INSTALL) -c -m 0755
INSTALL_DIR = $(INSTALL) -c -d -m 0755
+ASCIIDOC_CONF = ../../Documentation/asciidoc.conf
+MANPAGE_NORMAL_XSL = ../../Documentation/manpage-normal.xsl
+
default:
@echo "git-subtree doesn't need to be built."
@echo "Just copy it somewhere on your PATH, like /usr/local/bin."
doc: git-subtree.1
%.1: %.xml
- xmlto -m manpage-normal.xsl man $^
+ xmlto -m $(MANPAGE_NORMAL_XSL) man $^
%.xml: %.txt
- asciidoc -b docbook -d manpage -f asciidoc.conf \
+ asciidoc -b docbook -d manpage -f $(ASCIIDOC_CONF) \
-agit_version=$(gitver) $^
-
+
test:
./test.sh