r23399 - gnucash/trunk - Fix distcheck-hook to handle [type: ] prefixes in POTFILES.in properly

Geert Janssens gjanssens at code.gnucash.org
Sat Nov 16 11:37:37 EST 2013


Author: gjanssens
Date: 2013-11-16 11:37:37 -0500 (Sat, 16 Nov 2013)
New Revision: 23399
Trac: http://svn.gnucash.org/trac/changeset/23399

Modified:
   gnucash/trunk/Makefile.am
Log:
Fix distcheck-hook to handle [type: ] prefixes in POTFILES.in properly

Modified: gnucash/trunk/Makefile.am
===================================================================
--- gnucash/trunk/Makefile.am	2013-11-16 12:51:54 UTC (rev 23398)
+++ gnucash/trunk/Makefile.am	2013-11-16 16:37:37 UTC (rev 23399)
@@ -146,7 +146,7 @@
 
 distcheck-hook:
 	@e=''; \
-	for X in `grep -v \# ${distdir}/po/POTFILES.in` ; do \
+	for X in `grep -v \# ${distdir}/po/POTFILES.in | sed 's/\[type:.*\]//'` ; do \
 		if [ ! -f ${distdir}/$$X ] ; then \
 			echo $$X " is in POTFILES.in but not in the dist."; \
 			e='yes'; \



More information about the gnucash-changes mailing list