diff options
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/Makefile.in | 7 | ||||
-rw-r--r-- | lib-src/etags.c | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 5fa152ae5b..150d943b7e 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -345,9 +345,12 @@ extraclean: maintainer-clean check: @echo "We don't have any tests for the lib-src/ directory yet." +tagsfiles = $(wildcard ${srcdir}/*.[ch]) + +.PHONY: tags tags: TAGS -TAGS: etags${EXEEXT} - etags *.[ch] +TAGS: etags${EXEEXT} ${tagsfiles} + ./etags ${tagsfiles} ../lib/libgnu.a: $(config_h) $(MAKE) -C ../lib all diff --git a/lib-src/etags.c b/lib-src/etags.c index 182cb4cc87..796adaa5d0 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -959,7 +959,8 @@ Relative ones are stored relative to the output file's directory.\n"); Do not create tag entries for global variables in some\n\ languages. This makes the tags file smaller."); - puts ("--no-line-directive\n\ + if (PRINT_UNDOCUMENTED_OPTIONS_HELP) + puts ("--no-line-directive\n\ Ignore #line preprocessor directives in C and derived languages."); if (CTAGS) |