diff options
| author | Eli Zaretskii | 2010-10-02 11:08:47 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2010-10-02 11:08:47 +0200 |
| commit | 644d0594a55a5fd81efc40aa9cba0981a2563aa8 (patch) | |
| tree | 0c8227e9bca0c43cb32aff2be40e842c65ec1760 | |
| parent | 383ebd154fe44e38f38937e8cff3c2abe3fab310 (diff) | |
| download | emacs-644d0594a55a5fd81efc40aa9cba0981a2563aa8.tar.gz emacs-644d0594a55a5fd81efc40aa9cba0981a2563aa8.zip | |
Improve TAGS target on MS-DOS.
msdos/mainmake.v2 (TAGS tags): Use `find' to filter out loaddefs
files. Make all file names in TAGS tables absolute.
| -rw-r--r-- | msdos/ChangeLog | 5 | ||||
| -rw-r--r-- | msdos/mainmake.v2 | 13 |
2 files changed, 14 insertions, 4 deletions
diff --git a/msdos/ChangeLog b/msdos/ChangeLog index b52d49b4923..844f8af4efd 100644 --- a/msdos/ChangeLog +++ b/msdos/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-10-02 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * mainmake.v2 (TAGS tags): Use `find' to filter out loaddefs | ||
| 4 | files. Make all file names in TAGS tables absolute. | ||
| 5 | |||
| 1 | 2010-10-01 Eli Zaretskii <eliz@gnu.org> | 6 | 2010-10-01 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * sed1v2.inp (LIBGNUTLS_LIBS, LIBGNUTLS_CFLAGS): Edit to empty. | 8 | * sed1v2.inp (LIBGNUTLS_LIBS, LIBGNUTLS_CFLAGS): Edit to empty. |
diff --git a/msdos/mainmake.v2 b/msdos/mainmake.v2 index 79bd827d8c6..15476c1468a 100644 --- a/msdos/mainmake.v2 +++ b/msdos/mainmake.v2 | |||
| @@ -147,16 +147,21 @@ FRC: | |||
| 147 | 147 | ||
| 148 | # We cannot use [a-zA-Z]* like the mainline distribution does, because | 148 | # We cannot use [a-zA-Z]* like the mainline distribution does, because |
| 149 | # that causes all file names to be returned in upper-case on DOS... | 149 | # that causes all file names to be returned in upper-case on DOS... |
| 150 | # Must use `find' to filter out loaddefs files; ignore errors if `find' | ||
| 151 | # is not available or is an MS `find'. | ||
| 152 | # The "cd $(CURDIR)" gork is for when `find' fails and leaves us inside | ||
| 153 | # `lisp' or one of its subdirectories. | ||
| 150 | TAGS tags: lib-src FRC | 154 | TAGS tags: lib-src FRC |
| 151 | cd lib-src | 155 | cd lib-src |
| 152 | if exist etags.exe mv -f etags.exe ../bin | 156 | if exist etags.exe mv -f etags.exe ../bin |
| 153 | cd .. | 157 | cd .. |
| 154 | cd lisp | 158 | - find $(CURDIR)/lisp -iname "*.el" -a -! -( -iname "*loaddefs.el" -o -iname "ldefs-boot.el" -) | ./bin/etags -o lisp/TAGS - |
| 155 | ../bin/etags .../*.el | 159 | cd $(CURDIR) |
| 156 | cd .. | ||
| 157 | cd src | 160 | cd src |
| 158 | ../bin/etags --include=../lisp/TAGS \ | 161 | ../bin/etags --include=../lisp/TAGS \ |
| 159 | '--regex=/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' *.c *.h s/msdos.h m/intel386.h | 162 | --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \ |
| 163 | $(CURDIR)/src/*.c $(CURDIR)/src/*.h \ | ||
| 164 | $(CURDIR)/src/s/msdos.h $(CURDIR)/src/m/intel386.h | ||
| 160 | cd .. | 165 | cd .. |
| 161 | ./bin/etags --include=src/TAGS | 166 | ./bin/etags --include=src/TAGS |
| 162 | 167 | ||