]> git.eshelyaron.com Git - emacs.git/commitdiff
Make "etags --version" on Windows produce the same as on Posix platforms.
authorEli Zaretskii <eliz@gnu.org>
Wed, 2 Feb 2011 16:35:05 +0000 (18:35 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 2 Feb 2011 16:35:05 +0000 (18:35 +0200)
 makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add
 ``-DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\""''.

lib-src/ChangeLog
lib-src/makefile.w32-in

index e03ac55bfea2504895c4c2a780a3fe064679718e..58c37c493ae3f1ce7a4c653b3bf88c18313b73bb 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add
+       ``-DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\""''.
+
 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
 
        * ntlib.c (setregid): New stub, renamed from setegid.
index a642c3f4e0c9c3184d8e1737b97c2f0561b2b9b7..c7d58b9780c2b583a632ad48f4740bb493982d1c 100644 (file)
@@ -114,7 +114,7 @@ $(BLD)/regex.$(O): ../src/regex.c ../src/regex.h ../src/config.h
                $(CC)  $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \
                ../src/regex.c $(CC_OUT)$@
 
-ETAGS_CFLAGS  = -DHAVE_GETCWD
+ETAGS_CFLAGS  = -DHAVE_GETCWD -DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\""
 $(BLD)/etags.$(O): etags.c
                $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c
 
@@ -131,7 +131,7 @@ ctags.c:    etags.c
                - $(DEL) ctags.c
                $(CP) etags.c ctags.c
 
-CTAGS_CFLAGS  = -DCTAGS $(ETAGS_CFLAGS)
+CTAGS_CFLAGS  = -DCTAGS $(ETAGS_CFLAGS) -DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\""
 $(BLD)/ctags.$(O): ctags.c
                $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c