diff options
| author | Eli Zaretskii | 2011-02-02 18:28:24 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2011-02-02 18:28:24 +0200 |
| commit | d9f1f55ed7e8455fdcff0dfc49e8538e03d90304 (patch) | |
| tree | c37189470c2059ac64a2f7cdfb58465b656e5b57 /lib-src | |
| parent | bc35ff325b150d01e6858358e625dcdb6374fb37 (diff) | |
| download | emacs-d9f1f55ed7e8455fdcff0dfc49e8538e03d90304.tar.gz emacs-d9f1f55ed7e8455fdcff0dfc49e8538e03d90304.zip | |
Make "etags --version" on Windows produce the same as on Posix platforms.
makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add
``-DEMACS_NAME="\"GNU Emacs\""''.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/makefile.w32-in | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 2f56eb8d87a..9170719e09c 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-02-02 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add | ||
| 4 | ``-DEMACS_NAME="\"GNU Emacs\""''. | ||
| 5 | |||
| 1 | 2011-01-31 Eli Zaretskii <eliz@gnu.org> | 6 | 2011-01-31 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt. | 8 | * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt. |
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index 50a29a86042..962d4a72a6d 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in | |||
| @@ -98,7 +98,7 @@ $(BLD)/regex.$(O): ../src/regex.c ../src/regex.h ../src/config.h | |||
| 98 | $(CC) $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \ | 98 | $(CC) $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \ |
| 99 | ../src/regex.c $(CC_OUT)$@ | 99 | ../src/regex.c $(CC_OUT)$@ |
| 100 | 100 | ||
| 101 | ETAGS_CFLAGS = -DHAVE_GETCWD | 101 | ETAGS_CFLAGS = -DHAVE_GETCWD -DEMACS_NAME="\"GNU Emacs\"" |
| 102 | $(BLD)/etags.$(O): etags.c | 102 | $(BLD)/etags.$(O): etags.c |
| 103 | $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c | 103 | $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c |
| 104 | 104 | ||
| @@ -114,7 +114,7 @@ ctags.c: etags.c | |||
| 114 | - $(DEL) ctags.c | 114 | - $(DEL) ctags.c |
| 115 | $(CP) etags.c ctags.c | 115 | $(CP) etags.c ctags.c |
| 116 | 116 | ||
| 117 | CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS) | 117 | CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS) -DEMACS_NAME="\"GNU Emacs\"" |
| 118 | $(BLD)/ctags.$(O): ctags.c | 118 | $(BLD)/ctags.$(O): ctags.c |
| 119 | $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c | 119 | $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c |
| 120 | 120 | ||