Fixed TAGS target to work when building in a separate output dir.

This commit is contained in:
John Wiegley 2009-01-26 20:50:17 -04:00
parent 7d597da99b
commit 2170703310

View file

@ -233,7 +233,8 @@ all_sources = $(libledger_util_la_SOURCES) \
all_files = $(all_sources) $(pkginclude_HEADERS)
TAGS: $(all_sources)
@etags $(all_sources)
BUILD_DIR=`cd $(top_builddir); pwd`; \
(cd $(srcdir); etags -o $$BUILD_DIR/TAGS $(all_sources))
@echo TAGS rebuilt.
######################################################################