comparison Makefile.in.in @ 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 4939bde48d12
children ac6231e0c1df
comparison
equal deleted inserted replaced
4418:9bcdf9a3a783 4419:eb82fbb675ea
254 254
255 .NO_PARALLEL: ${GENERATED_HEADERS} ${MAKE_SUBDIR} 255 .NO_PARALLEL: ${GENERATED_HEADERS} ${MAKE_SUBDIR}
256 .PHONY: ${SUBDIR} all beta 256 .PHONY: ${SUBDIR} all beta
257 257
258 ## Convenience target for XEmacs beta testers 258 ## Convenience target for XEmacs beta testers
259 beta: elcclean all 259 beta: elcclean update-version all
260 260
261 ## Convenience target for XEmacs maintainers 261 ## Convenience target for XEmacs maintainers
262 ## This would run `make-xemacsdist' if I were really confident that everything 262 ## This would run `make-xemacsdist' if I were really confident that everything
263 ## was turnkey. 263 ## was turnkey.
264 dist: all 264 dist: all
313 FRC.src FRC.lib-src FRC.lwlib FRC.dynodump pkg-src/FRC.tree-x: 313 FRC.src FRC.lib-src FRC.lwlib FRC.dynodump pkg-src/FRC.tree-x:
314 FRC.lisp.finder-inf.el: 314 FRC.lisp.finder-inf.el:
315 315
316 ${SUBDIR}: ${SUBDIR_MAKEFILES} ${GENERATED_HEADERS} FRC 316 ${SUBDIR}: ${SUBDIR_MAKEFILES} ${GENERATED_HEADERS} FRC
317 cd ./$@ && $(MAKE) $(RECURSIVE_MAKE_ARGS) all 317 cd ./$@ && $(MAKE) $(RECURSIVE_MAKE_ARGS) all
318
319 ## This should be the same code as in configure.ac.
320 update-version:
321 cp ${srcdir}/version.sh.in ${srcdir}/version.sh
322 if test -d ${srcdir}/.hg; then \
323 (cd ${srcdir}; hg identify | cut -d " " -f 1 >> version.sh); \
324 fi
318 325
319 ## Building modules depends on ellcc, found in lib-src. 326 ## Building modules depends on ellcc, found in lib-src.
320 modules/sample modules/ldap modules/zlib modules/base64: lib-src 327 modules/sample modules/ldap modules/zlib modules/base64: lib-src
321 modules/postgresql modules/canna: lib-src 328 modules/postgresql modules/canna: lib-src
322 329