summaryrefslogtreecommitdiff
path: root/contrib/subtree
diff options
context:
space:
mode:
authorLibravatar David A. Greene <greened@obbligato.org>2012-01-29 16:17:43 -0600
committerLibravatar David A. Greene <greened@obbligato.org>2012-04-09 22:25:58 -0500
commit5163d476d04dc940b2e74d79c60e3b32fea12f02 (patch)
treeaa85dead0405f13397010413bfc3af7799044b56 /contrib/subtree
parentRemove unnecessary git-subtree files (diff)
downloadtgif-5163d476d04dc940b2e74d79c60e3b32fea12f02.tar.xz
Use project config files
Use project-wide files to process documentation for git-subtree. Signed-off-by: David A. Greene <greened@obbligato.org>
Diffstat (limited to 'contrib/subtree')
-rw-r--r--contrib/subtree/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/subtree/Makefile b/contrib/subtree/Makefile
index 91e0cc08ea..21130af6f6 100644
--- a/contrib/subtree/Makefile
+++ b/contrib/subtree/Makefile
@@ -10,6 +10,9 @@ INSTALL_DATA = $(INSTALL) -c -m 0644
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."
@@ -31,12 +34,12 @@ install-doc: git-subtree.1
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