Ignore Project-Id-Version when comparing pot files.

This commit is contained in:
Todd C. Miller
2012-03-28 14:05:49 -04:00
parent 5ff23fb854
commit e04e66137c

View File

@@ -179,7 +179,7 @@ update-pot:
*) echo unknown domain $$domain; continue;; \ *) echo unknown domain $$domain; continue;; \
esac; \ esac; \
$(XGETTEXT) $(XGETTEXT_OPTS) -d$$domain $$cfiles -o $$pot.tmp; \ $(XGETTEXT) $(XGETTEXT_OPTS) -d$$domain $$cfiles -o $$pot.tmp; \
if diff -I'^.POT-Creation-Date' -I'^#' $$pot.tmp $$pot >/dev/null; then \ if diff -I'^.POT-Creation-Date' -I'^.Project-Id-Version' -I'^#' $$pot.tmp $$pot >/dev/null; then \
rm -f $$pot.tmp; \ rm -f $$pot.tmp; \
else \ else \
mv -f $$pot.tmp $$pot; \ mv -f $$pot.tmp $$pot; \