diff options
| author | Georg Brandl <georg@python.org> | 2011-03-05 20:51:24 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2011-03-05 20:51:24 +0100 |
| commit | 1ca2e7965c52525684bb517401c513158a8af989 (patch) | |
| tree | bb4d18504b81ba63fc7b46ebf05d839b51338dd7 /Makefile.pre.in | |
| parent | 7b50c2c6aed2754f205835420d7450f2e401ebfd (diff) | |
| download | cpython-git-1ca2e7965c52525684bb517401c513158a8af989.tar.gz | |
Commit the hg build identification patch from the pymigr repo.
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 7788cba62f..211a70354f 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -35,6 +35,9 @@ LINKCC= @LINKCC@ AR= @AR@ RANLIB= @RANLIB@ SVNVERSION= @SVNVERSION@ +HGVERSION= @HGVERSION@ +HGTAG= @HGTAG@ +HGBRANCH= @HGBRANCH@ GNULD= @GNULD@ @@ -525,7 +528,12 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \ $(SIGNAL_OBJS) \ $(MODOBJS) \ $(srcdir)/Modules/getbuildinfo.c - $(CC) -c $(PY_CFLAGS) -DSVNVERSION="\"`LC_ALL=C $(SVNVERSION)`\"" -o $@ $(srcdir)/Modules/getbuildinfo.c + $(CC) -c $(PY_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_CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \ |
