[SCM] Packaging for padre-plugin-catalyst branch, master, updated. upstream/0.13-29-g6e13ab3

Damyan Ivanov dmn at debian.org
Thu Sep 8 21:11:42 UTC 2011


The following commit has been merged in the master branch:
commit 7daf6d7f97c45f3b46526d51794efecab1c4a874
Author: Damyan Ivanov <dmn at debian.org>
Date:   Thu Sep 8 23:49:51 2011 +0300

    rebuild MO files during build

diff --git a/debian/rules b/debian/rules
index 2d33f6a..74deda8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,17 @@
 
 %:
 	dh $@
+
+PKG=libpadre-plugin-catalyst-perl
+DIST=Padre-Plugin-Catalyst
+PO_DIR = $(CURDIR)/debian/$(PKG)/usr/share/perl5/auto/share/dist/$(DIST)/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

-- 
Packaging for padre-plugin-catalyst



More information about the Pkg-perl-cvs-commits mailing list