summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0d31de3)
raw | patch | inline | side by side (parent: 0d31de3)
author | Ben Walton <bwalton@artsci.utoronto.ca> | |
Sat, 14 Nov 2009 01:29:40 +0000 (20:29 -0500) | ||
committer | Avery Pennarun <apenwarr@gmail.com> | |
Sun, 15 Nov 2009 17:18:15 +0000 (12:18 -0500) |
Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index faefffded5bab03380f2bed8fab65db4c054da43..9b204bdcae17dce203196349e43307c1e94c09f1 100644 (file)
--- a/Makefile
+++ b/Makefile
mandir ?= $(prefix)/share/man
gitdir ?= $(shell git --exec-path)
+gitver ?= $(word 3,$(shell git --version))
+
# this should be set to a 'standard' bsd-type install program
INSTALL ?= install
INSTALL_DATA = $(INSTALL) -c -m 0644
%.xml: %.txt
asciidoc -b docbook -d manpage -f asciidoc.conf \
- -agit_version=1.6.3 $^
+ -agit_version=$(gitver) $^
clean:
rm -f *~ *.xml *.html *.1