Commit c4cc6c94 authored by Michael Terry's avatar Michael Terry

make po file checks distcheck-compatible

parent 6ee0a1ff
......@@ -39,7 +39,7 @@ sign:
gpg --armor --sign --detach-sig deja-dup-$(PACKAGE_VERSION).tar.bz2
check:
test "$(shell ls -1 po/*.po | wc -l)" -eq "$(shell cat po/LINGUAS | wc -l)"
test "$(shell ls -1 $(srcdir)/po/*.po | wc -l)" -eq "$(shell cat $(srcdir)/po/LINGUAS | wc -l)"
releasecheck: all distcheck sign
release: all dist sign
......
......@@ -67,7 +67,7 @@ HELP_LINGUAS = \
zh_TW
check:
test "$(shell ls -1 */*.po | wc -l)" -eq "$(shell echo $(HELP_LINGUAS) | wc -w)"
test "$(shell ls -1 $(srcdir)/*/*.po | wc -l)" -eq "$(shell echo $(HELP_LINGUAS) | wc -w)"
deja-dup-help.pot: deja-dup.pot
cp -a $^ $@
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment