[kernel] r15681 - dists/sid/linux-2.6/debian
Ben Hutchings
benh at alioth.debian.org
Thu May 13 23:21:22 UTC 2010
Author: benh
Date: Thu May 13 23:21:21 2010
New Revision: 15681
Log:
Apply substitutions to debconf template translations
Modified:
dists/sid/linux-2.6/debian/rules.real
Modified: dists/sid/linux-2.6/debian/rules.real
==============================================================================
--- dists/sid/linux-2.6/debian/rules.real Thu May 13 21:55:26 2010 (r15680)
+++ dists/sid/linux-2.6/debian/rules.real Thu May 13 23:21:21 2010 (r15681)
@@ -145,7 +145,6 @@
install-base:
dh_installchangelogs
dh_installdocs
- dh_installdebconf
dh_strip
dh_compress
dh_fixperms
@@ -410,6 +409,17 @@
-e 's/=S//g' \
$$i > debian/$(PACKAGE_NAME).$$(basename $$i); \
done
+ mkdir -p debian/$(PACKAGE_NAME).po
+ for i in $(wildcard debian/po/*.po); do \
+ sed \
+ -e 's/=ST/linux/g' \
+ -e 's/=V/$(REAL_VERSION)/g' \
+ $$i > debian/$(PACKAGE_NAME).po/$$(basename $$i); \
+ done
+ mkdir -p debian/$(PACKAGE_NAME)/DEBIAN
+ po2debconf --podir debian/$(PACKAGE_NAME).po \
+ -o debian/$(PACKAGE_NAME)/DEBIAN/templates \
+ debian/$(PACKAGE_NAME).templates
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_bug:
dh_installdirs usr/share/bug/$(PACKAGE_NAME)
More information about the Kernel-svn-changes
mailing list