Fix refresh-po, to handle no translated languages.
authorSimon Josefsson <simon@josefsson.org>
Wed, 8 Mar 2006 10:41:37 +0000 (10:41 +0000)
committerSimon Josefsson <simon@josefsson.org>
Wed, 8 Mar 2006 10:41:37 +0000 (10:41 +0000)
build-aux/maint.mk

index db9d553cc568ce13e4f7cb8307f2a84572e46a51..81952027eb75d32b7c467dab1b99e5d66d102ea5 100644 (file)
@@ -112,7 +112,7 @@ PACKAGE ?= $(shell basename $(PWD))
 POURL = http://www.iro.umontreal.ca/translation/maint/$(PACKAGE)/
 PODIR ?= po
 refresh-po:
-       rm $(PODIR)/*.po && \
+       rm -f $(PODIR)/*.po && \
        echo "$(ME): getting translations into po (please ignore the robots.txt ERROR 404)..." && \
        wget --no-verbose --directory-prefix $(PODIR) --no-directories --recursive --level 1 --accept .po --accept .po.1 $(POURL) && \
        echo 'en@boldquot' > $(PODIR)/LINGUAS && \