summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Hüwe <suse-tux@gmx.de>2007-07-03 22:07:13 (GMT)
committerMarcus Hüwe <suse-tux@gmx.de>2007-07-03 22:07:13 (GMT)
commit18b247a61d92a2e297577f2786d1de389e4a70bf (patch)
treebe451b8f6b49a00c7260e378f2f25421aaa15df1
parent01c4c3c91b6afc5d2de1abc6e69acb6408a711c5 (diff)
downloadkolab-webadmin-18b247a61d92a2e297577f2786d1de389e4a70bf.tar.gz
* Makefile.am:
exclude the generated *.mo files from a tarball which is created with "make distcheck". Additionally I added a small fix so that "make distcheck" works
-rw-r--r--ChangeLog8
-rw-r--r--Makefile.am21
2 files changed, 23 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 9fc0b4a..ac61070 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-07-04 Marcus Hüwe <suse-tux@gmx.de>
+
+ * Makefile.am:
+
+ exclude the generated *.mo files from a tarball which
+ is created with "make distcheck". Additionally I added a small
+ fix so that "make distcheck" works.
+
2007-07-03 Thomas Arendsen Hein <thomas@intevation.de>
* Makefile.am: Include both, .po and .mo files, as the build process
diff --git a/Makefile.am b/Makefile.am
index d92043a..46c6d61 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -160,9 +160,12 @@ EXTRA_DIST += $(PHP_TEMPLATES)
MSGFMT=msgfmt
-.po.mo:
+.po.mo: $<
+ @$(mkinstalldirs) $(basename $@)
$(MSGFMT) -o $@ $<
+CLEANFILES += php/admin/locale/*/LC_MESSAGES/messages.mo
+
PHP_LOCALE_DE_PO = php/admin/locale/de/LC_MESSAGES/messages.po
PHP_LOCALE_DE_MO = php/admin/locale/de/LC_MESSAGES/messages.mo
@@ -183,11 +186,17 @@ phplocalenldir = $(localedir)/nl/LC_MESSAGES
phplocaleitdir = $(localedir)/it/LC_MESSAGES
phplocaleesdir = $(localedir)/es/LC_MESSAGES
-dist_phplocalede_DATA = $(PHP_LOCALE_DE_PO) $(PHP_LOCALE_DE_MO)
-dist_phplocalefr_DATA = $(PHP_LOCALE_FR_PO) $(PHP_LOCALE_FR_MO)
-dist_phplocalenl_DATA = $(PHP_LOCALE_NL_PO) $(PHP_LOCALE_NL_MO)
-dist_phplocaleit_DATA = $(PHP_LOCALE_IT_PO) $(PHP_LOCALE_IT_MO)
-dist_phplocalees_DATA = $(PHP_LOCALE_ES_PO) $(PHP_LOCALE_ES_MO)
+phplocalede_DATA = $(PHP_LOCALE_DE_MO)
+phplocalefr_DATA = $(PHP_LOCALE_FR_MO)
+phplocalenl_DATA = $(PHP_LOCALE_NL_MO)
+phplocaleit_DATA = $(PHP_LOCALE_IT_MO)
+phplocalees_DATA = $(PHP_LOCALE_ES_MO)
+
+EXTRA_DIST += $(PHP_LOCALE_DE_PO) \
+ $(PHP_LOCALE_FR_PO) \
+ $(PHP_LOCALE_NL_PO) \
+ $(PHP_LOCALE_IT_PO) \
+ $(PHP_LOCALE_ES_PO)
kwadocdir = $(pkgdocdir)/@PACKAGE@
dist_kwadoc_DATA = ChangeLog \