diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2012-02-15 09:29:22 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-02-15 09:29:22 +0000 |
commit | 77808ceb5c0ee8e8b849a9b2d4416c979b76a1cd (patch) | |
tree | 541bc51441ac8928400b1190a773afd20efb0d53 | |
parent | ab94026a0851d8c98cc2ff952ad984619e89bb09 (diff) |
Adjust POTFILES.in check to strip type prefix
-rw-r--r-- | maint.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; \ |