Mercurial > hg > xemacs-beta
changeset 496:98145293255c
[xemacs-hg @ 2001-05-01 12:05:20 by adrian]
[PATCH] Bring emacs_beta_version handing in xemacs.mak closer to configure.in <pudtb8q5.fsf@rapier.ecf.teradyne.com>
author | adrian |
---|---|
date | Tue, 01 May 2001 12:05:20 +0000 |
parents | 02f7a782086f |
children | 11b53bb7daf5 |
files | nt/ChangeLog nt/xemacs.mak |
diffstat | 2 files changed, 19 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/nt/ChangeLog Tue May 01 09:36:44 2001 +0000 +++ b/nt/ChangeLog Tue May 01 12:05:20 2001 +0000 @@ -1,3 +1,11 @@ +2001-05-01 Adrian Aichner <adrian@xemacs.org> + + * xemacs.mak: Define EMACS_PATCH_LEVEL like configure.in does. + * xemacs.mak (XEMACS_VERSION_STRING): Build this more like + configure.in does. + * xemacs.mak (docfile): Use del instead of $(DEL) in shell + command. + 2001-05-01 Ben Wing <ben@xemacs.org> * config.inc.samp (MAKEINFO): point at more standard c: not f:.
--- a/nt/xemacs.mak Tue May 01 09:36:44 2001 +0000 +++ b/nt/xemacs.mak Tue May 01 12:05:20 2001 +0000 @@ -69,10 +69,13 @@ -DINFODOCK_MINOR_VERSION=$(infodock_minor_version) \ -DINFODOCK_BUILD_VERSION=$(infodock_build_version) !else +XEMACS_VERSION_STRING=$(emacs_major_version).$(emacs_minor_version) +!if "$(emacs_beta_version)" != "" !if "$(emacs_is_beta)" != "" -XEMACS_VERSION_STRING=$(emacs_major_version).$(emacs_minor_version)-b$(emacs_beta_version) +XEMACS_VERSION_STRING=$(XEMACS_VERSION_STRING)-b$(emacs_beta_version) !else -XEMACS_VERSION_STRING=$(emacs_major_version).$(emacs_minor_version).$(emacs_beta_version) +XEMACS_VERSION_STRING=$(XEMACS_VERSION_STRING).$(emacs_beta_version) +!endif !endif PROGRAM_DEFINES= \ -DPATH_VERSION=\"$(XEMACS_VERSION_STRING)\" \ @@ -829,8 +832,12 @@ # This may not exist !if "$(emacs_beta_version)" != "" +!if "$(emacs_is_beta)" != "" EMACS_BETA_VERSION=-DEMACS_BETA_VERSION=$(emacs_beta_version) -!ENDIF +!else +EMACS_PATCH_LEVEL=-DEMACS_PATCH_LEVEL=$(emacs_beta_version) +!endif +!endif !if !$(USE_PORTABLE_DUMPER) TEMACS_ENTRYPOINT=-entry:_start @@ -1338,7 +1345,7 @@ # Rebuild docfile target docfile :: - if exist $(DOC) $(DEL) $(DOC) + if exist $(DOC) del $(DOC) docfile :: $(DOC) $(DOC): $(LIB_SRC)\make-docfile.exe $(DOC_SRC1) $(DOC_SRC2) $(DOC_SRC3) $(DOC_SRC4) $(DOC_SRC5) $(DOC_SRC6) $(DOC_SRC7) $(DOC_SRC8) $(DOC_SRC9) $(DOC_SRC10) $(DOC_SRC11)