[subversion-commit] SVN tex-common commit + diffs: r930 - tex-common/trunk/debian

Frank Küster frank at costa.debian.org
Thu Feb 23 17:52:35 UTC 2006


Author: frank
Date: 2006-02-23 17:52:35 +0000 (Thu, 23 Feb 2006)
New Revision: 930

Modified:
   tex-common/trunk/debian/changelog
   tex-common/trunk/debian/rules
Log:
* Call debconf-updatepo in the clean and build targets, thanks to Thomas
  Huriaux <thomas.huriaux at gmail.com> (closes: #354138) [frank]


Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2006-02-23 17:45:03 UTC (rev 929)
+++ tex-common/trunk/debian/changelog	2006-02-23 17:52:35 UTC (rev 930)
@@ -2,8 +2,10 @@
 
   * Perform all config checks in the postinst script instead of exiting
     after the first failure
+  * Call debconf-updatepo in the clean and build targets, thanks to Thomas
+    Huriaux <thomas.huriaux at gmail.com> (closes: #354138) [frank]
 
- -- Frank Küster <frank at debian.org>  Thu, 23 Feb 2006 18:45:44 +0100
+ -- Frank Küster <frank at debian.org>  Thu, 23 Feb 2006 18:54:07 +0100
 
 tex-common (0.17) unstable; urgency=low
 

Modified: tex-common/trunk/debian/rules
===================================================================
--- tex-common/trunk/debian/rules	2006-02-23 17:45:03 UTC (rev 929)
+++ tex-common/trunk/debian/rules	2006-02-23 17:52:35 UTC (rev 930)
@@ -34,7 +34,7 @@
 
 build: build-stamp
 
-build-stamp: $(EPERL_FILES)
+build-stamp: $(EPERL_FILES) debian/po/templates.pot
 	dh_testdir
 	$(check-svn)
 
@@ -45,6 +45,13 @@
 
 	touch build-stamp
 
+debian/po/templates.pot: debian/templates
+	debconf-updatepo
+	grep "Last-Translator" debian/po/*.po | \
+	  sed -e 's/.*\(<.*@.*>\).*/\1, /g' | \
+	  tr "\n" " " | sed -e 's/,  $$/\n/' \
+	  > debian/recent-translators
+
 clean:
 	dh_testdir
 	dh_testroot
@@ -53,6 +60,7 @@
 	# Add here commands to clean up after the build process.
 	cd doc; $(MAKE) clean
 	-rm $(EPERL_FILES)
+	debconf-updatepo
 
 	dh_clean 
 




More information about the Pkg-tetex-commits mailing list