[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/8] tags (ID, cscope): also process config header (if any)
From: |
Stefano Lattarini |
Subject: |
[PATCH 1/8] tags (ID, cscope): also process config header (if any) |
Date: |
Fri, 8 Jun 2012 10:20:23 +0200 |
* lib/am/tags.am (cscopelist, ID): Also scan the file given by the
'%CONFIG%' transform, for consistency by what is done by the 'TAGS'
and 'CTAGS' rules.
Signed-off-by: Stefano Lattarini <address@hidden>
---
lib/am/tags.am | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/am/tags.am b/lib/am/tags.am
index fccacca..37412ca 100644
--- a/lib/am/tags.am
+++ b/lib/am/tags.am
@@ -18,9 +18,9 @@
## ID. ##
## ---- ##
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ID: $(HEADERS) $(SOURCES) %CONFIG% $(TAGS_FILES) $(LISP)
## Make sure the list of sources is unique.
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ list='$(SOURCES) %CONFIG% $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
## Handle VPATH correctly.
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
@@ -153,8 +153,8 @@ cscope.files: clean-cscope %CSCOPEDIRS% cscopelist
endif %?TOPDIR_P%
.PHONY: cscopelist
-cscopelist: %CSCOPEDIRS% $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist: %CSCOPEDIRS% $(HEADERS) $(SOURCES) %CONFIG% $(LISP)
+ list='$(HEADERS) $(SOURCES) %CONFIG% $(LISP)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
--
1.7.9.5
- [PATCH 0/8] {master} Some simplifications in tags support, Stefano Lattarini, 2012/06/08
- [PATCH 3/8] tags: new var $(am__tagged_files) to list all files to run taggers on, Stefano Lattarini, 2012/06/08
- [PATCH 4/8] tags: look at $(am__tagged_files) to decide whether to activate, Stefano Lattarini, 2012/06/08
- [PATCH 1/8] tags (ID, cscope): also process config header (if any),
Stefano Lattarini <=
- [PATCH 2/8] tags (cscope): also process $(TAGS_FILES), Stefano Lattarini, 2012/06/08
- [PATCH 8/8] cleanup: simplify subroutine '&saw_extension', Stefano Lattarini, 2012/06/08
- [PATCH 6/8] cleanup: remove unused '&count_files_for_language' subroutine, Stefano Lattarini, 2012/06/08
- [PATCH 5/8] automake: simplify '&saw_sources_p', Stefano Lattarini, 2012/06/08
- [PATCH 7/8] cleanup: remove subroutine '&saw_sources_p', Stefano Lattarini, 2012/06/08
- Re: [PATCH 0/8] {master} Some simplifications in tags support, Stefano Lattarini, 2012/06/09