summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-11-02 12:41:33 -0700
committerGlenn Morris <rgm@gnu.org>2013-11-02 12:41:33 -0700
commitc617f3d0b10f5a271c2d5d93d2a9422d9d7e8fb1 (patch)
tree6a2822ea9620c91e347b605ec48436b67ef4d0a9 /lwlib
parent739f57cd1f17b92760c2631c7eec003e3a756415 (diff)
Use relative filenames in TAGS files.
* src/Makefile.in (abs_srcdir): Remove it again. (.PHONY): Remove frc. (maintainer-clean): No more TAGS-LISP file. (TAGS): Pass relative file names to etags. (../lisp/TAGS): Rename from TAGS-LISP. Work in ../lisp. * lisp/Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3) (lisptagsfiles4, TAGS): Use relative file names. (TAGS-LISP): Remove. (maintainer-clean): No more TAGS-LISP file. * lwlib/Makefile.in (abs_srcdir): Remove it again. (ctagsfiles, TAGS): Use relative filenames. * .bzrignore: Remove TAGS-LISP.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/ChangeLog4
-rw-r--r--lwlib/Makefile.in9
2 files changed, 7 insertions, 6 deletions
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog
index 6d10fe551c..dadb13514e 100644
--- a/lwlib/ChangeLog
+++ b/lwlib/ChangeLog
@@ -1,5 +1,9 @@
2013-11-02 Glenn Morris <rgm@gnu.org>
+ Use relative filenames in TAGS files.
+ * Makefile.in (abs_srcdir): Remove it again.
+ (ctagsfiles, TAGS): Use relative filenames.
+
* Makefile.in (abs_srcdir): New, set by configure.
(ETAGS, ctagsfiles): New variables.
(TAGS): Use ETAGS, ctagsfiles. Use absolute filenames again.
diff --git a/lwlib/Makefile.in b/lwlib/Makefile.in
index 550983c175..8bb23bb11b 100644
--- a/lwlib/Makefile.in
+++ b/lwlib/Makefile.in
@@ -23,7 +23,6 @@
# and set up to be configured by ../configure.
srcdir=@srcdir@
-abs_srcdir=@abs_srcdir@
# MinGW CPPFLAGS may use this.
abs_top_srcdir=@abs_top_srcdir@
VPATH=@srcdir@
@@ -104,12 +103,10 @@ maintainer-clean: distclean
ETAGS = ../lib-src/etags
-## FIXME? Does etags need to use absolute filenames?
-## See comments in lisp/Makefile.in, src/Makefile.in.
-ctagsfiles= *.[ch]
+ctagsfiles= $(srcdir)/*.[ch]
-TAGS: $(srcdir)/$(ctagsfiles)
- "$(ETAGS)" "$(abs_srcdir)"/$(ctagsfiles)
+TAGS: $(ctagsfiles)
+ "$(ETAGS)" $(ctagsfiles)
tags: TAGS
.PHONY: tags