From: Dirk-Jan C. Binnema Date: Tue, 13 Nov 2007 13:42:03 +0000 (+0000) Subject: * hack; remove the en_GB translation before building packages X-Git-Tag: git_migration_finished~2105 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=9b63b7e008e34d0a44e72e51047b3c5ccf921da6 * hack; remove the en_GB translation before building packages to make us not conflict ith the official translation pmo-trunk-r3722 --- diff --git a/debian/rules b/debian/rules index 8300106..f6da553 100755 --- a/debian/rules +++ b/debian/rules @@ -61,6 +61,7 @@ build-stamp: config.status MAEMO_LAUNCHER_LDFLAGS="$(LAUNCHER_LDFLAGS)" touch build-stamp + clean: dh_testdir dh_testroot @@ -92,6 +93,13 @@ ifeq "$(strip $(LAUNCHER))" "yes" $(CURDIR)/debian/modest/usr/bin/modest endif +# ACHTUNG: hack +# we remove the modest.mo english localization, if the current control file contains a reference +# to modest-l10n-mr0; thus, the modest package will not conflict with that one. +# if modest-l10n-mr0 is not there, we'll install our own (en_GB) .mo file. + grep modest-l10n-mr0 $(CURDIR)/control && rm $(CURDIR)/tmp/usr/share/locale/en_GB/LC_MESSAGES/modest.mo + + # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default.