diff options
author | Petr Baudis <pasky@suse.cz> | 2006-06-24 04:34:36 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-02 17:14:40 -0700 |
commit | 63df97ae7baeedc3ce04995139fa0f6bc5eea76c (patch) | |
tree | 370d65f4f594a3f551f55f6db7baec094664398c /Makefile | |
parent | Git.pm: Call external commands using execv_git_cmd() (diff) | |
download | tgif-63df97ae7baeedc3ce04995139fa0f6bc5eea76c.tar.xz |
Git.pm: Implement Git::version()
Git::version() returns the Git version string.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -610,7 +610,10 @@ $(XDIFF_LIB): $(XDIFF_OBJS) perl/Makefile: perl/Git.pm perl/Makefile.PL - (cd perl && $(PERL_PATH) Makefile.PL PREFIX="$(prefix)" DEFINE="$(ALL_CFLAGS)" LIBS="$(LIBS)") + (cd perl && $(PERL_PATH) Makefile.PL \ + PREFIX="$(prefix)" \ + DEFINE="$(ALL_CFLAGS) -DGIT_VERSION=\\\"$(GIT_VERSION)\\\"" \ + LIBS="$(LIBS)") doc: $(MAKE) -C Documentation all |