Mercurial > hg > xemacs-beta
comparison nt/xemacs.mak @ 4419:eb82fbb675ea
Use Mercurial changeset hash to identify build version.
2008-01-25 Michael Sperber <mike@xemacs.org>
* Makefile.in.in:
* configure.ac:
* version.sh.in: Use Mercurial tip hash to identify version
instead of old CVS method.
2008-01-25 Michael Sperber <mike@xemacs.org>
* build-report.el (build-report-version-file-regexp): Adjust to
handle Mercurial hash.
2008-01-25 Michael Sperber <mike@xemacs.org>
* xemacs.mak (version.sh): Generate version.sh via Mercurial.
2008-01-25 Michael Sperber <mike@xemacs.org>
* emacs.c (vars_of_emacs): Zap mention of CVS.
author | Mike Sperber <sperber@deinprogramm.de> |
---|---|
date | Thu, 07 Feb 2008 10:03:49 +0100 |
parents | dc84ec90b463 |
children | d9b9b5f90386 |
comparison
equal
deleted
inserted
replaced
4418:9bcdf9a3a783 | 4419:eb82fbb675ea |
---|---|
72 SRCROOT=$(MAKEROOT) | 72 SRCROOT=$(MAKEROOT) |
73 BLDROOT=$(MAKEROOT) | 73 BLDROOT=$(MAKEROOT) |
74 !endif | 74 !endif |
75 !endif | 75 !endif |
76 | 76 |
77 !if [copy $(SRCROOT)\version.sh.in $(SRCROOT)\version.sh] | |
78 !endif | |
79 !if exist($(SRCROOT)\.hg) | |
80 !if [hg identify >> $(SRCROOT)\version.sh] | |
81 !endif | |
82 !endif | |
83 | |
77 # Program name and version | 84 # Program name and version |
78 !include "$(SRCROOT)\version.sh" | 85 !include "$(SRCROOT)\version.sh" |
79 | 86 |
80 ########################### Basic vars referring to directories, both in | 87 ########################### Basic vars referring to directories, both in |
81 ########################### the source and build trees. | 88 ########################### the source and build trees. |
814 -DEMACS_MAJOR_VERSION=$(emacs_major_version) \ | 821 -DEMACS_MAJOR_VERSION=$(emacs_major_version) \ |
815 -DEMACS_MINOR_VERSION=$(emacs_minor_version) \ | 822 -DEMACS_MINOR_VERSION=$(emacs_minor_version) \ |
816 $(EMACS_BETA_VERSION) $(EMACS_PATCH_LEVEL) \ | 823 $(EMACS_BETA_VERSION) $(EMACS_PATCH_LEVEL) \ |
817 -DXEMACS_CODENAME=\"$(xemacs_codename:&=and)\" \ | 824 -DXEMACS_CODENAME=\"$(xemacs_codename:&=and)\" \ |
818 !if defined(xemacs_extra_name) | 825 !if defined(xemacs_extra_name) |
819 -DXEMACS_EXTRA_NAME=\"$(xemacs_extra_name:"=)\" \ | 826 -DXEMACS_EXTRA_NAME=\""$(xemacs_extra_name:"=)"\" \ |
820 !endif | 827 !endif |
821 !if defined(PATH_LATE_PACKAGE_DIRECTORIES) | 828 !if defined(PATH_LATE_PACKAGE_DIRECTORIES) |
822 -DPATH_LATE_PACKAGE_DIRECTORIES=\"$(PATH_LATE_PACKAGE_DIRECTORIES)\" \ | 829 -DPATH_LATE_PACKAGE_DIRECTORIES=\"$(PATH_LATE_PACKAGE_DIRECTORIES)\" \ |
823 !endif | 830 !endif |
824 -DEMACS_CONFIGURATION=\"$(EMACS_CONFIGURATION)\" | 831 -DEMACS_CONFIGURATION=\"$(EMACS_CONFIGURATION)\" |