summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Avery Pennarun <apenwarr@gmail.com>2009-05-30 14:05:33 -0400
committerLibravatar Avery Pennarun <apenwarr@gmail.com>2009-05-30 14:06:58 -0400
commite75d1da38a7091c15ebd3c80539e4aab20faf5b7 (patch)
tree17e7110445a8d6710c69d8f20738b5fc69d4ae65 /Makefile
parentMake --squash work with the 'add' command too. (diff)
downloadtgif-e75d1da38a7091c15ebd3c80539e4aab20faf5b7.tar.xz
Add basic git-subtree manpage in asciidoc format.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..bc163dd390
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+default:
+ @echo "git-subtree doesn't need to be built."
+ @echo
+ @echo "Try: make doc"
+ @false
+
+doc: git-subtree.1
+
+%.1: %.xml
+ xmlto -m manpage-normal.xsl man $^
+
+%.xml: %.txt
+ asciidoc -b docbook -d manpage -f asciidoc.conf \
+ -agit_version=1.6.3 $^
+
+clean:
+ rm -f *~ *.xml *.html *.1
+ rm -rf subproj mainline