[SCM] Packaging for padre-plugin-perltidy branch, master, updated. debian/0.16-3-9-ga1f2c20
Damyan Ivanov
dmn at debian.org
Tue Jan 10 19:07:45 UTC 2012
The following commit has been merged in the master branch:
commit a1f2c20aa42abf8eb8967a0390c9434f9c0cd58f
Author: Damyan Ivanov <dmn at debian.org>
Date: Tue Jan 10 21:02:29 2012 +0200
rules: make the .po→.mo fixup conditional on locale directory existence
In this release upstream no longer installs them, but who knows how things
will be in the next release
diff --git a/debian/changelog b/debian/changelog
index 3a0d9be..c56c4cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,9 @@ libpadre-plugin-perltidy-perl (0.19-1) UNRELEASED; urgency=low
[ Damyan Ivanov ]
* add libparams-util-perl and padre to (build-) dependencies
+ * rules: make the .po→.mo fixup conditional on locale directory existence
+ In this release upstream no longer installs them, but who knows how things
+ will be in the next release
-- Dominique Dumont <dod at debian.org> Tue, 10 Jan 2012 18:53:22 +0100
diff --git a/debian/rules b/debian/rules
index 3109187..232657a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,11 +20,13 @@ MOD=Padre-Plugin-PerlTidy
PO_DIR = $(CURDIR)/debian/$(PKG)/usr/share/perl5/auto/share/dist/$(MOD)/locale
override_dh_auto_install:
dh_auto_install
- rm $(PO_DIR)/*.mo
- for f in $(PO_DIR)/*.po; do \
- msgfmt $$f -o $${f%.po}.mo ; \
- rm $$f ;\
- echo `basename $$f` ;\
- done
- rm $(PO_DIR)/*.pot
+ if [ -d $(PO_DIR) ]; then \
+ rm $(PO_DIR)/*.mo; \
+ for f in $(PO_DIR)/*.po; do \
+ msgfmt $$f -o $${f%.po}.mo ; \
+ rm $$f ; \
+ echo `basename $$f` ; \
+ done ;\
+ rm $(PO_DIR)/*.pot ; \
+ fi
--
Packaging for padre-plugin-perltidy
More information about the Pkg-perl-cvs-commits
mailing list