diff options
Diffstat (limited to 'maintMakefile')
-rw-r--r-- | maintMakefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/maintMakefile b/maintMakefile index 60d1367..2bafbc2 100644 --- a/maintMakefile +++ b/maintMakefile @@ -134,11 +134,12 @@ move_if_change = if test -r $(target) && cmp -s $(target).t $(target); then \ po_repo = http://www.iro.umontreal.ca/translation/maint/$(PACKAGE) .PHONY: do-po-update po-update do-po-update: - tmppo=/tmp/$(PACKAGE)-$(VERSION)-po &&\ - rm -rf $$tmppo && \ - mkdir $$tmppo && \ - (cd $$tmppo && $(WGET) -r -l1 -nd --no-parent -A '*.po' $(po_repo)) &&\ - cp $$tmppo/*.po po + tmppo="/tmp/po-$(PACKAGE)-$(VERSION).$$$$" \ + && rm -rf "$$tmppo" \ + && mkdir "$$tmppo" \ + && (cd "$$tmppo" \ + && $(WGET) -r -l1 -nd --no-parent -A '*.po' $(po_repo)) \ + && cp "$$tmppo"/*.po po && rm -rf "$$tmppo" cd po && $(MAKE) update-po $(MAKE) po-check |