Make "etags --version" on Windows produce the same as on Posix platforms.
makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add ``-DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\""''.
This commit is contained in:
parent
9714fa6777
commit
1cb274e286
2 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue