1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Place the TAGS file in the source directory.

This commit is contained in:
Kalle Olavi Niemitalo 2007-05-20 18:44:09 +03:00 committed by Witold Filipczyk
parent d69cf888ef
commit 2a2203ef92
2 changed files with 7 additions and 1 deletions

1
src/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
TAGS

View File

@ -42,8 +42,13 @@ vernum.o: $(LIB_O_NAME)
elinks: $(LIB_O_NAME) vernum.o elinks: $(LIB_O_NAME) vernum.o
$(call cmd,link) $(call cmd,link)
# Place the TAGS file in the source directory so that, if the same
# source is built for different configurations in different build
# directories, one doesn't have to remember which of those build
# directories has the most recent TAGS.
TAGS: TAGS:
find $(srcdir). \( -name "*.[ch]" -o -name "*.inc" \) -print \ cd $(srcdir) \
&& find . \( -name "*.[ch]" -o -name "*.inc" \) -print \
| etags --regex='{c}/INIT_LIST_HEAD(\([[:alnum:]_]+\))/\1/' \ | etags --regex='{c}/INIT_LIST_HEAD(\([[:alnum:]_]+\))/\1/' \
--regex='{c}/struct_hierbox_browser(\n[ \t]*\([[:alnum:]_]+\),/\1/m' \ --regex='{c}/struct_hierbox_browser(\n[ \t]*\([[:alnum:]_]+\),/\1/m' \
--regex='{c}/^ACTION_(\([[:alnum:]_]+\),[^,]*,[ \t]*\([[:alnum:]_]+\),/ACT_\1_\2/' \ --regex='{c}/^ACTION_(\([[:alnum:]_]+\),[^,]*,[ \t]*\([[:alnum:]_]+\),/ACT_\1_\2/' \