[Mailman-i18n] A small addition to messages/Makefile.in

Mikhail Sobolev mss@mawhrin.net
Thu, 14 Mar 2002 23:53:57 +0000


Time to time, it's a good idea just to check how good the templates are.
Here is a small patch that adds a target "check" for finding out the
obvious errors.

--
Misha

Index: Makefile.in
===================================================================
RCS file: /cvsroot/mailman/mailman/messages/Makefile.in,v
retrieving revision 2.19
diff -u -b -r2.19 Makefile.in
--- Makefile.in	6 Mar 2002 05:05:51 -0000	2.19
+++ Makefile.in	14 Mar 2002 23:51:08 -0000
@@ -74,6 +74,9 @@
 
 catalogs: $(TARGETS)
 
+check:
+	@for file in $(POFILES); do echo "Checking $$file"; msgfmt -o /dev/null --statistics -v $$file; done
+
 install: doinstall
 
 # we should depend on the .mo files instead of making them!