summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-29 19:11:14 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-29 19:11:14 -0400
commit3c0e2138fc781b902e966459460943f8f838aa94 (patch)
tree24fc71995c2101704e44ab59fbf922b9b5abce33
parentda1cd7c4bc70f4afb594acf61295539caa84a87e (diff)
downloadfork-ledger-3c0e2138fc781b902e966459460943f8f838aa94.tar.gz
fork-ledger-3c0e2138fc781b902e966459460943f8f838aa94.tar.bz2
fork-ledger-3c0e2138fc781b902e966459460943f8f838aa94.zip
Changed the way that etags is invoked for 'make TAGS'.
-rw-r--r--Makefile.am5
1 files 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.
######################################################################