summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-02-15 09:29:22 +0000
committerDaniel P. Berrange <berrange@redhat.com>2012-02-15 09:29:22 +0000
commit77808ceb5c0ee8e8b849a9b2d4416c979b76a1cd (patch)
tree541bc51441ac8928400b1190a773afd20efb0d53
parentab94026a0851d8c98cc2ff952ad984619e89bb09 (diff)
Adjust POTFILES.in check to strip type prefix
-rw-r--r--maint.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/maint.mk b/maint.mk
index 9e59a02..bac7a96 100644
--- a/maint.mk
+++ b/maint.mk
@@ -1062,7 +1062,9 @@ generated_files ?= $(srcdir)/lib/*.[ch]
sc_po_check:
@if test -f $(po_file); then \
grep -E -v '^(#|$$)' $(po_file) \
- | grep -v '^src/false\.c$$' | sort > $@-1; \
+ | grep -v '^src/false\.c$$' \
+ | sed 's|\[type: gettext/glade\] ||' \
+ | sort > $@-1; \
files=; \
for file in $$($(VC_LIST_EXCEPT)) $(generated_files); do \
test -r $$file || continue; \