Adding TAG_PROGRAM abstraction, thanks to Jim Nance for this fix.

This commit is contained in:
mcafee%netscape.com 1999-06-09 20:58:33 +00:00
parent ea7f958c5c
commit 1b5c10be18

View File

@ -417,9 +417,15 @@ distclean::
Makefile config.log config.cache depend.mk .md .deps .HSancillary _xpidlgen
+$(LOOP_OVER_DIRS)
#
# Tags: emacs (etags), vi (ctags)
# TAG_PROGRAM := ctags -F -
#
TAG_PROGRAM := etags -a
alltags:
rm -f TAGS
find . -name dist -prune -o \( -name '*.[hc]' -o -name '*.cp' -o -name '*.cpp' -o -name '*.idl' \) -print | xargs etags -a
find $(topsrcdir) -name dist -prune -o \( -name '*.[hc]' -o -name '*.cp' -o -name '*.cpp' -o -name '*.idl' \) -print | xargs $(TAG_PROGRAM)
#
# Turn on C++ linking if we have any .cpp files