[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Missing tags
From: |
Matthew Mundell |
Subject: |
Re: Missing tags |
Date: |
07 Feb 2004 15:07:50 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Richard Stallman <address@hidden> writes:
> However, this regexp still produces too many tags because it
> adds duplicate tags from the ldefs-boot.el file. To match both
> loaddefs.el and ldefs-boot.el files sed could use GNU extended
> regexps with the `-r' argument:
>
> It is more reliable and cleaner to use two separate sed commands,
> one for each file. Can someone do it that way?
This may help.
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/Makefile.in,v
retrieving revision 1.48
diff -u -r1.48 Makefile.in
--- Makefile.in 8 Nov 2003 01:38:07 -0000 1.48
+++ Makefile.in 7 Feb 2004 13:41:27 -0000
@@ -188,11 +188,13 @@
$(emacs) -f batch-update-authors $(srcdir)/AUTHORS $(srcdir)
TAGS: $(lisptagsfiles1) $(lisptagsfiles2)
- els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e
"s,$(lisp)/loaddefs.*\.el,,"`; \
+ els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e
"s,$(lisp)/loaddefs\.el,,"`; \
+ els=`echo $$els | sed -e "s,$(lisp)/ldefs-boot\.el,,"`; \
${ETAGS} $$els
TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
- els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e
"s,$(lisp)/loaddefs.*\.el,,"`; \
+ els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e
"s,$(lisp)/loaddefs\.el,,"`; \
+ els=`echo $$els | sed -e "s,$(lisp)/ldefs-boot\.el,,"`; \
${ETAGS} -o TAGS-LISP $$els
.SUFFIXES: .elc .el