[SCM] Packaging of padre perl editor branch, master, updated. upstream/0.27.ds1-92-gf56bb11

Damyan Ivanov dmn at debian.org
Mon Feb 16 18:52:36 UTC 2009


The following commit has been merged in the master branch:
commit d9f7f2c2258e43e2473b777ccb1a7610757b16d2
Author: Damyan Ivanov <dmn at debian.org>
Date:   Sat Feb 14 18:00:48 2009 +0200

    do not use upstream-supplied .mo files, but re-create them from .po

diff --git a/debian/rules b/debian/rules
index 499f354..35d08ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,10 +10,15 @@ build-stamp: $(QUILT_STAMPFN)
 clean: unpatch
 	dh $@
 
+PO_DIR = $(CURDIR)/debian/padre/usr/share/perl5/auto/share/dist/Padre/locale
 install: install-stamp
 install-stamp: build-stamp
 	dh install
 	dh_link /usr/share/man/man3/Padre.3pm.gz /usr/share/man/man1/padre.1.gz
+	for f in $(PO_DIR)/*.po; do \
+	    msgfmt $$f -o $${f%.po}.mo ; \
+	    rm $$f ;\
+	done
 	touch $@
 
 binary-arch:

-- 
Packaging of padre perl editor



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