[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r101725: Improve TAGS target on MS-DO
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r101725: Improve TAGS target on MS-DOS. |
Date: |
Sat, 02 Oct 2010 11:08:47 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 101725
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sat 2010-10-02 11:08:47 +0200
message:
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.
modified:
msdos/ChangeLog
msdos/mainmake.v2
=== modified file 'msdos/ChangeLog'
--- a/msdos/ChangeLog 2010-10-01 19:20:29 +0000
+++ b/msdos/ChangeLog 2010-10-02 09:08:47 +0000
@@ -1,3 +1,8 @@
+2010-10-02 Eli Zaretskii <address@hidden>
+
+ * mainmake.v2 (TAGS tags): Use `find' to filter out loaddefs
+ files. Make all file names in TAGS tables absolute.
+
2010-10-01 Eli Zaretskii <address@hidden>
* sed1v2.inp (LIBGNUTLS_LIBS, LIBGNUTLS_CFLAGS): Edit to empty.
=== modified file 'msdos/mainmake.v2'
--- a/msdos/mainmake.v2 2010-08-20 19:45:24 +0000
+++ b/msdos/mainmake.v2 2010-10-02 09:08:47 +0000
@@ -147,16 +147,21 @@
# We cannot use [a-zA-Z]* like the mainline distribution does, because
# that causes all file names to be returned in upper-case on DOS...
+# Must use `find' to filter out loaddefs files; ignore errors if `find'
+# is not available or is an MS `find'.
+# The "cd $(CURDIR)" gork is for when `find' fails and leaves us inside
+# `lisp' or one of its subdirectories.
TAGS tags: lib-src FRC
cd lib-src
if exist etags.exe mv -f etags.exe ../bin
cd ..
- cd lisp
- ../bin/etags .../*.el
- cd ..
+ - find $(CURDIR)/lisp -iname "*.el" -a -! -( -iname "*loaddefs.el" -o
-iname "ldefs-boot.el" -) | ./bin/etags -o lisp/TAGS -
+ cd $(CURDIR)
cd src
../bin/etags --include=../lisp/TAGS \
- '--regex=/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' *.c *.h s/msdos.h
m/intel386.h
+ --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \
+ $(CURDIR)/src/*.c $(CURDIR)/src/*.h \
+ $(CURDIR)/src/s/msdos.h $(CURDIR)/src/m/intel386.h
cd ..
./bin/etags --include=src/TAGS
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r101725: Improve TAGS target on MS-DOS.,
Eli Zaretskii <=