From 3c0e2138fc781b902e966459460943f8f838aa94 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 29 Jan 2009 19:11:14 -0400 Subject: [PATCH] Changed the way that etags is invoked for 'make TAGS'. --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index e35b397d..1b4df29d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -107,7 +107,7 @@ libledger_extra_la_CPPFLAGS = $(lib_cppflags) libledger_extra_la_LDFLAGS = -release $(VERSION).0 pkginclude_HEADERS = \ - acconf.h \ + $(top_builddir)/acconf.h \ src/system.hh \ src/utils.h \ src/flags.h \ @@ -236,7 +236,8 @@ all_files = $(all_sources) $(pkginclude_HEADERS) TAGS: $(all_sources) $(pkginclude_HEADERS) BUILD_DIR=`cd $(top_builddir); pwd`; \ - (cd $(srcdir); etags -o $$BUILD_DIR/TAGS $(all_sources) $(pkginclude_HEADERS)) + (cd $(srcdir); \ + etags -l c++ -o $$BUILD_DIR/TAGS $(all_sources) $(pkginclude_HEADERS)) @echo TAGS rebuilt. ######################################################################