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:
parent
b9ec321869
commit
e5f97b2174
1
src/.gitignore
vendored
Normal file
1
src/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
TAGS
|
@ -38,8 +38,13 @@ vernum.o: $(LIB_O_NAME)
|
||||
elinks: $(LIB_O_NAME) vernum.o
|
||||
$(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:
|
||||
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/' \
|
||||
--regex='{c}/struct_hierbox_browser(\n[ \t]*\([[:alnum:]_]+\),/\1/m' \
|
||||
--regex='{c}/^ACTION_(\([[:alnum:]_]+\),[^,]*,[ \t]*\([[:alnum:]_]+\),/ACT_\1_\2/' \
|
||||
|
Loading…
Reference in New Issue
Block a user