Add Exuberant Ctags suppor to the TAGS build. Esr you might want to review it.

This commit is contained in:
Mark de Wever 2008-06-23 15:10:54 +00:00
parent 510048f1be
commit d5275eae25

View file

@ -313,7 +313,8 @@ all = env.Alias("all")
#
# Make a tags file for Emacs
env.Command("TAGS", sources, 'etags -l c++ $SOURCES.srcpath')
# Exuberant Ctags doesn't understand the -l c++ flag so if the etags fails try the ctags version
env.Command("TAGS", sources, 'etags -l c++ $SOURCES.srcpath || (ctags --tag-relative=yes -f src/tags $SOURCES.srcpath)')
env.Clean(all, 'TAGS')
#