summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
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.
######################################################################