Fix "make TAGS" on MS-Windows.
lisp/Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files through xargs, to avoid failure due to MS-Windows limitations on command-line length. src/Makefile.in (ctagsfiles1, ctagsfiles2): Don't include *.m files. (ctagsfiles3): New variable, includes only *.m files. (TAGS): Use an explicit language name in the regular expressions, to avoid transformation of '/SOMETHING' by MSYS to 'c:\MSYS\SOMETHING'.
This commit is contained in:
parent
3649ba053b
commit
a822acffe2
4 changed files with 24 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-06-07 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
|
||||
through xargs, to avoid failure due to MS-Windows limitations on
|
||||
command-line length.
|
||||
|
||||
2013-06-06 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* font-lock.el (lisp-font-lock-keywords-2):
|
||||
|
|
|
@ -209,8 +209,9 @@ update-authors:
|
|||
$(emacs) -l authors -f batch-update-authors $(top_srcdir)/etc/AUTHORS $(top_srcdir)
|
||||
|
||||
TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4)
|
||||
els=`echo $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4) | sed -e "s,$(lisp)/[^ ]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \
|
||||
${ETAGS} -o $@ $$els
|
||||
rm -f $@; touch $@; \
|
||||
echo $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4) | sed -e "s,$(lisp)/[^ ]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,," | \
|
||||
xargs $(XARGS_LIMIT) ${ETAGS} -a -o $@
|
||||
|
||||
# The src/Makefile.in has its own set of dependencies and when they decide
|
||||
# that one Lisp file needs to be re-compiled, we had better recompile it as
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
2013-06-07 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* Makefile.in (ctagsfiles1, ctagsfiles2): Don't include *.m files.
|
||||
(ctagsfiles3): New variable, includes only *.m files.
|
||||
(TAGS): Use an explicit language name in the regular expressions,
|
||||
to avoid transformation of '/SOMETHING' by MSYS to
|
||||
'c:\MSYS\SOMETHING'.
|
||||
|
||||
2013-06-07 Richard Copley <rcopley@gmail.com> (tiny change)
|
||||
|
||||
* epaths.in: Fix commentary to PATH_SITELOADSEARCH.
|
||||
|
|
|
@ -588,13 +588,16 @@ extraclean: distclean
|
|||
## Arrange to make a tags table TAGS-LISP for ../lisp,
|
||||
## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
|
||||
|
||||
ctagsfiles1 = [xyzXYZ]*.[hcm]
|
||||
ctagsfiles2 = [a-wA-W]*.[hcm]
|
||||
ctagsfiles1 = [xyzXYZ]*.[hc]
|
||||
ctagsfiles2 = [a-wA-W]*.[hc]
|
||||
ctagsfiles3 = [a-zA-Z]*.m
|
||||
|
||||
TAGS: $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2) $(S_FILE)
|
||||
../lib-src/etags --include=TAGS-LISP --include=$(lwlibdir)/TAGS \
|
||||
--regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \
|
||||
$(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2) $(S_FILE)
|
||||
--regex='{c}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \
|
||||
$(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2) $(S_FILE) \
|
||||
--regex='{objc}/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \
|
||||
$(srcdir)/$(ctagsfiles3)
|
||||
frc:
|
||||
TAGS-LISP: frc
|
||||
$(MAKE) -f $(lispdir)/Makefile TAGS-LISP ETAGS=../lib-src/etags
|
||||
|
|
Loading…
Add table
Reference in a new issue