summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2014-06-23 07:20:27 -0700
committerJim Meyering <meyering@fb.com>2014-06-23 07:20:27 -0700
commit081ed98dabfd1d857139c71fd6a74f8898dd9dcb (patch)
tree8e6d7f40735ef30628329fedd3a4527f0947082d
parentae37d7c4586664e18f42e25a7f210f392e1f0100 (diff)
downloadparted-081ed98dabfd1d857139c71fd6a74f8898dd9dcb.tar.gz
maint: correct a POT-file updating rule
* doc/C/Makefile.am (updatepo): If there is no po/$name.pot, create an empty one. Reported by Philip Susi.
-rw-r--r--doc/C/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/C/Makefile.am b/doc/C/Makefile.am
index 42b3cb1..c3595f5 100644
--- a/doc/C/Makefile.am
+++ b/doc/C/Makefile.am
@@ -13,6 +13,7 @@ updatepo:
test -w . || exit 0; \
for name in $(dist_man8_MANS); do \
echo $$name; \
+ test -f po/$$name.pot || touch po/$$name.pot; \
cp po/$$name.pot po/$$name.new.pot; \
po4a-updatepo -f man -m $$name -p po/$$name.new.pot; \
diff -I '^\"POT-Creation-Date: ' po/$$name.pot po/$$name.new.pot 2>&1 > /dev/null; \