diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-15 14:07:31 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:35:34 -0400 |
commit | c6d896f7353e8b6c260ad1689d25d734d9ceb298 (patch) | |
tree | b9be22adc0cdba2b89e40230f6fb325cc646546b /Makefile.am | |
parent | dd6cbe709681798e597ead58e91f24eca3672e61 (diff) | |
download | fork-ledger-c6d896f7353e8b6c260ad1689d25d734d9ceb298.tar.gz fork-ledger-c6d896f7353e8b6c260ad1689d25d734d9ceb298.tar.bz2 fork-ledger-c6d896f7353e8b6c260ad1689d25d734d9ceb298.zip |
make distcheck now works.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index d0ff39d5..24acb4cd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,16 @@ SUBDIRS = gdtoa +EXTRA_DIST = docs tests + +dist-hook: + rm -fr `find $(distdir) -name .svn` + lib_LTLIBRARIES = libledger.la if HAVE_BOOST_PYTHON lib_LTLIBRARIES += libpyledger.la endif -libledger_la_CXXFLAGS = $(WARNFLAGS) +libledger_la_CXXFLAGS = $(WARNFLAGS) -I$(includedir) libledger_la_SOURCES = \ amount.cc \ quotes.cc \ @@ -16,8 +21,6 @@ libledger_la_SOURCES = \ xpath.cc \ mask.cc \ format.cc \ - \ - trace.cc \ util.cc \ \ session.cc \ @@ -50,7 +53,7 @@ libledger_la_SOURCES += ofx.cc endif if DEBUG libledger_la_CXXFLAGS += -DDEBUG_LEVEL=4 -libledger_la_SOURCES += debug.cc +libledger_la_SOURCES += debug.cc trace.cc endif if HAVE_BOOST_PYTHON libledger_la_CXXFLAGS += -DUSE_BOOST_PYTHON=1 @@ -72,7 +75,6 @@ libpyledger_la_LDFLAGS = -release 3.0 pkginclude_HEADERS = \ - acconf.h \ amount.h \ balance.h \ binary.h \ @@ -82,6 +84,7 @@ pkginclude_HEADERS = \ derive.h \ emacs.h \ error.h \ + fdstream.hpp \ format.h \ gnucash.h \ journal.h \ @@ -105,6 +108,7 @@ pkginclude_HEADERS = \ util.h \ value.h \ xml.h \ + xmlparse.h \ xpath.h ###################################################################### @@ -145,6 +149,8 @@ if HAVE_BOOST_PYTHON noinst_PROGRAMS = ledger.so +ledger_so_SOURCES = pyledger.cc + PYLIBS = pyledger ledger gdtoa boost_python gmp pcre if HAVE_EXPAT @@ -195,7 +201,7 @@ UnitTests_SOURCES = tests/UnitTests.cc \ UnitTests_LDADD = $(lib_LTLIBRARIES) gdtoa/libgdtoa.la -lcppunit UnitTests_LDFLAGS = $(LIBADD_DL) -UnitTests_CXXFLAGS = -I. -Itests +UnitTests_CXXFLAGS = -I. -I$(srcdir)/tests if HAVE_EXPAT UnitTests_CXXFLAGS += -DHAVE_EXPAT=1 endif @@ -209,6 +215,8 @@ if DEBUG UnitTests_CXXFLAGS += -DDEBUG_LEVEL=4 endif +PyUnitTests_SOURCES = + PyUnitTests: PyUnitTests.py cp PyUnitTests.py PyUnitTests chmod 755 PyUnitTests |