diff options
author | Georg Brandl <georg@python.org> | 2011-03-06 09:26:32 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-03-06 09:26:32 (GMT) |
commit | fe09a54280a56a01402f4cb98c8c6cb4be89654a (patch) | |
tree | 7bea7a6d99ae4509b5f77fca934ec32f8a93c8ab /Makefile.pre.in | |
parent | f874debbf37636b0f2f46f8db06be50c20b670a8 (diff) | |
parent | 13039c87f14aeed325bcb5fadd202922a614957b (diff) | |
download | cpython-fe09a54280a56a01402f4cb98c8c6cb4be89654a.zip cpython-fe09a54280a56a01402f4cb98c8c6cb4be89654a.tar.gz cpython-fe09a54280a56a01402f4cb98c8c6cb4be89654a.tar.bz2 |
Merge build identification to default branch.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 45a6d52..0a9f8e2 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -37,6 +37,9 @@ RANLIB= @RANLIB@ SVNVERSION= @SVNVERSION@ SOABI= @SOABI@ LDVERSION= @LDVERSION@ +HGVERSION= @HGVERSION@ +HGTAG= @HGTAG@ +HGBRANCH= @HGBRANCH@ GNULD= @GNULD@ @@ -552,7 +555,12 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \ $(SIGNAL_OBJS) \ $(MODOBJS) \ $(srcdir)/Modules/getbuildinfo.c - $(CC) -c $(PY_CORE_CFLAGS) -DSVNVERSION="\"`LC_ALL=C $(SVNVERSION)`\"" -o $@ $(srcdir)/Modules/getbuildinfo.c + $(CC) -c $(PY_CORE_CFLAGS) \ + -DSVNVERSION="\"`LC_ALL=C $(SVNVERSION)`\"" \ + -DHGVERSION="\"`LC_ALL=C $(HGVERSION)`\"" \ + -DHGTAG="\"`LC_ALL=C $(HGTAG)`\"" \ + -DHGBRANCH="\"`LC_ALL=C $(HGBRANCH)`\"" \ + -o $@ $(srcdir)/Modules/getbuildinfo.c Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile $(CC) -c $(PY_CORE_CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \ |