Print this page
XXX Remove nawk(1)
*** 51,61 ****
messages.po $(TEXT_DOMAIN).po > $(POFILE); \
$(RM) messages.po $(TEXT_DOMAIN).po
BUILDPO.pofiles = \
$(RM) $(POFILE); \
! $(NAWK) '\
FNR == 1 { print "\# Messages from " FILENAME; } \
/^domain/ { next; } \
/^msgid/, /^msgstr/ { msg = msg "\n" $$0; \
if ( $$0 !~ /^msgstr/ ) next; \
if (msg in messages) { \
--- 51,61 ----
messages.po $(TEXT_DOMAIN).po > $(POFILE); \
$(RM) messages.po $(TEXT_DOMAIN).po
BUILDPO.pofiles = \
$(RM) $(POFILE); \
! $(AWK) '\
FNR == 1 { print "\# Messages from " FILENAME; } \
/^domain/ { next; } \
/^msgid/, /^msgstr/ { msg = msg "\n" $$0; \
if ( $$0 !~ /^msgstr/ ) next; \
if (msg in messages) { \