diff options
author | Eli Zaretskii <eliz@gnu.org> | 2010-10-01 13:45:16 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2010-10-01 13:45:16 +0200 |
commit | 73077a9af5b634a43742c3fdcecae8a851eb51be (patch) | |
tree | c62d3a7c20cbd132eac4642e7872a93c73b845f9 /nt | |
parent | 967f57dcc822719de3a0e197957943f7504baef1 (diff) | |
download | emacs-73077a9af5b634a43742c3fdcecae8a851eb51be.tar.gz |
Support TAGS targets in the w32 build.
nt/makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
emacs-src.tags: New file.
src/makefile.w32-in (TAGS, frc, TAGS-LISP, ../nt/TAGS, tags)
(TAGS-gmake, TAGS-nmake, TAGS-LISP-gmake, TAGS-LISP-nmake)
(nt-TAGS-gmake, nt-TAGS-nmake): New targets.
lisp/makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
(TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
(TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
lib-src/makefile.w32-in (tags, TAGS): New targets.
Diffstat (limited to 'nt')
-rw-r--r-- | nt/ChangeLog | 2 | ||||
-rw-r--r-- | nt/emacs-src.tags | 6 | ||||
-rw-r--r-- | nt/makefile.w32-in | 13 |
3 files changed, 21 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index 25c274c4f9a..71097e32181 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,5 +1,7 @@ 2010-10-01 Eli Zaretskii <eliz@gnu.org> + * makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets. + * gmake.defs: Add a comment with a single quote to fix fontification. (Bug#7102) diff --git a/nt/emacs-src.tags b/nt/emacs-src.tags new file mode 100644 index 00000000000..8c187133454 --- /dev/null +++ b/nt/emacs-src.tags @@ -0,0 +1,6 @@ + This file defines the regular expressions for etags to look for + in the src directory. It is used by the w32 build to work around + the annoyances of quoting command-line arguments with various + w32 shell. + +/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/ diff --git a/nt/makefile.w32-in b/nt/makefile.w32-in index b0f5edb28a2..f328cd6a9f9 100644 --- a/nt/makefile.w32-in +++ b/nt/makefile.w32-in @@ -417,3 +417,16 @@ maintainer-clean-other-dirs-gmake: realclean: cleanall
- $(DEL_TREE) ../bin
+
+TAGS: TAGS-$(MAKETYPE)
+
+frc:
+TAGS-gmake: frc
+ ../lib-src/$(BLD)/etags $(CURDIR)/*.c
+ $(MAKE) $(MFLAGS) -C ../src TAGS TAGS-LISP
+ $(MAKE) $(MFLAGS) -C ../lib-src TAGS
+
+TAGS-nmake:
+ echo This target is not supported with NMake
+
+.PHONY: frc
|