docs-common/common/entities Makefile,1.41,1.42

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Sun Apr 29 21:14:04 UTC 2007


Author: pfrields

Update of /cvs/docs/docs-common/common/entities
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2070

Modified Files:
	Makefile 
Log Message:
Don't know why this isn't working, but I'm going to commit it anyway
since it will give someone else the chance to fix it.



Index: Makefile
===================================================================
RCS file: /cvs/docs/docs-common/common/entities/Makefile,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- Makefile	28 Apr 2007 00:36:59 -0000	1.41
+++ Makefile	29 Apr 2007 21:14:02 -0000	1.42
@@ -76,7 +76,7 @@
 #
 define	PO_template
 .PHONY:	po-${1}
-.PRECIOUS: ${1}.po
+.PRECIOUS: po/${1}.po
 po-${1}:: po/${1}.po
 po/${1}.po:: po/entities.pot
 	if [ ! -f po/${1}.po ]; then					\
@@ -85,6 +85,10 @@
 		msgmerge --update --backup=simple po/${1}.po $$<;	\
 	fi
 
+postat-${1}::
+        @echo "${1}: $(shell msgfmt --stat po/${1}.po 2>&1 | \
+                sed 's@[^0-9]\+@/@g')"
+
 help::
 	@printf ${HELPFMT} "make po-${1}"	"Generate .PO file for locale '${1}'"
 	@printf ${HELPFMT} "make po/${1}.po"	"Generate '${1}.po' file"
@@ -94,6 +98,7 @@
 
 .PHONY:	po-all po
 po-all po:	${foreach L,${OTHERS},po/${L}.po}
+postat:  	$(foreach L,${OTHERS},postat-${L})
 
 help::
 	@printf ${HELPFMT} "make po-all"	"Generate all .PO files"




More information about the Fedora-docs-commits mailing list