From 21707033108fccbd24e03c98677131b7dd74a5f7 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 26 Jan 2009 20:50:17 -0400 Subject: [PATCH] Fixed TAGS target to work when building in a separate output dir. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 182652e9..c36701a2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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. ######################################################################