diff options
author | Jakub Narebski <jnareb@gmail.com> | 2006-08-08 18:35:23 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-08 13:32:04 -0700 |
commit | 3900145ed72bf1dfd656af6a5b31034e818b425f (patch) | |
tree | 4b6ebb016559e725922a28c716b1b6959ca2084c /Makefile | |
parent | d5c31a1ccfa1195cff160bbad995c68037180570 (diff) | |
download | git-3900145ed72bf1dfd656af6a5b31034e818b425f.tar.gz git-3900145ed72bf1dfd656af6a5b31034e818b425f.tar.xz |
autoconf: Add configure target to main Makefile
While at it fill git version information in configure.ac
configure target needs autoconf, of course.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -595,6 +595,13 @@ git-instaweb: git-instaweb.sh gitweb/gitweb.cgi gitweb/gitweb.css chmod +x $@+ mv $@+ $@ +configure: configure.ac + rm -f $@ $<+ + sed -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \ + $< > $<+ + autoconf -o $@ $<+ + rm -f $<+ + # These can record GIT_VERSION git$X git.spec \ $(patsubst %.sh,%,$(SCRIPT_SH)) \ |