diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 22:38:03 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 22:38:03 +0000 |
commit | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (patch) | |
tree | 99e72842fe687baea16376a147619b6048d7e441 /Makefile.am | |
download | kmymoney-dadc34655c3ab961b0b0b94a10eaaba710f0b5e8.tar.gz kmymoney-dadc34655c3ab961b0b0b94a10eaaba710f0b5e8.zip |
Added kmymoney
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239792 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..6ad9abe --- /dev/null +++ b/Makefile.am @@ -0,0 +1,68 @@ +####### kdevelop will overwrite this part!!! (begin)########## + +# just make sure, we don't ship the sqlite subdirectory with the tarball +SOURCEDIRS = libkgpgfile libkdchart kmymoney2 po doc developer-doc +SUBDIRS = @SQLITE3@ $(SOURCEDIRS) +DIST_SUBDIRS = $(SOURCEDIRS) contrib + +EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL README TODO ChangeLog.original configure.in.in configure.in.bot README.Fileformats stamp-h1 subdirs inst-apps 23011-qt-sqlite3-0.2.tar.gz + +noinst_HEADERS = kdecompat.h + +####### kdevelop will overwrite this part!!! (end)############ +# not a GNU package. You can remove this line, if +# have all needed files, that a GNU package needs +AUTOMAKE_OPTIONS = foreign +KDE_OPTIONS = noautodist + +$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs + cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ; + +$(top_srcdir)/subdirs: + cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs + +ADDITIONAL_CHECKS=`ls *.m4 | grep -v acinclude\.m4 | grep -v aclocal\.m4` + +$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in + @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4 + @for i in $(ADDITIONAL_CHECKS); do \ + cat $$i >> acinclude.m4; \ + done + +distclean-local: + if test "x@SQLITE3@" != "x"; then \ + rm -rf @SQLITE3@; \ + fi + +DISTCLEANFILES=kmymoney2.kdevses kmymoney2-*.tar.gz +MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files + +.PHONY: check-vpath-environment +check-vpath-environment: + @if test "x$(top_srcdir)x" != "x$(top_builddir)x"; then \ + echo "Packaging messages does not work in VPATH environment!"; \ + exit 1; \ + fi; + +# we use our own version of extractrc if not otherwise specified +export EXTRACTRC ?= $(PWD)/admin/extractrc + +generate-messages: check-vpath-environment + find . -name rc.cpp -exec rm {} \; + $(MAKE) -C $(top_srcdir) -f admin/Makefile.common package-messages XGETTEXT=$(XGETTEXT) + find . -name rc.cpp -exec rm {} \; + @if test `grep '"_: ' po/kmymoney2.pot | grep -v TRANSLATORS | wc -l` -eq 0; then echo -e "It seems that context i18n's are not translated correctly.\n'$(XGETTEXT)' has been used for translation."; exit 1; fi; + +package-messages: + $(MAKE) generate-messages + $(MAKE) merge-messages + +merge-messages: check-vpath-environment + $(MAKE) -C $(top_srcdir)/po merge + +fullcheck: + DISTCHECK_CONFIGURE_FLAGS="--enable-ofxbanking --enable-ofxplugin" $(MAKE) distcheck + +# The following line adds the required admin files +EXTRA_DIST += admin/Makefile.common admin/cvs.sh admin/detect-autoconf.pl admin/acinclude.m4.in admin/conf.change.pl admin/config.pl admin/libtool.m4.in admin/configure.in.min admin/configure.in.bot.end admin/am_edit admin/debianrules admin/fixuifiles admin/extractrc + |