[Logcheck-commits] CVS logcheck/debian

CVS User maks-guest logcheck-devel@lists.alioth.debian.org
Mon, 11 Apr 2005 20:04:00 +0000


Update of /cvsroot/logcheck/logcheck/debian
In directory haydn:/tmp/cvs-serv17815/debian

Modified Files:
	changelog rules 
Log Message:

add checkpo rule for checking the debconf translation status.


--- /cvsroot/logcheck/logcheck/debian/changelog	2005/04/11 00:06:52	1.387
+++ /cvsroot/logcheck/logcheck/debian/changelog	2005/04/11 20:03:57	1.388
@@ -3,6 +3,7 @@
   maks:
   * Generalise postfix rule concerning network_biopair_interop.
   * Add rule for ntp message about valid/infalid peers. (Closes #303661)
+  * Improve rules .PHONY target + add checkpo rule for the translation check.
   jamie:
   * Add rule in violations.ignore.d/logcheck-postfix for postgrey
     (Closes: #30088)
--- /cvsroot/logcheck/logcheck/debian/rules	2005/04/11 19:52:00	1.13
+++ /cvsroot/logcheck/logcheck/debian/rules	2005/04/11 20:04:00	1.14
@@ -6,7 +6,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-.PHONY: build clean binary-indep binary-arch binary cvs-build
+.PHONY: build clean binary-indep binary-arch binary cvs-build checkpo
 
 build: build-stamp
 build-stamp:
@@ -68,6 +68,14 @@
 
 binary: binary-indep binary-arch
 
+# check the debconf translations
+checkpo:
+	for i in debian/po/*.po; do \
+		echo \"Checking: $$i\"; \
+		msgmerge -U $$i debian/po/templates.pot; \
+		msgfmt -o /dev/null -c --statistics $$i; \
+	done
+
 # Done by the uploader:
 # cvs update..
 # edit debian/changelog