summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2014-09-07 16:54:36 -0400
committerPaul Smith <psmith@gnu.org>2014-09-07 16:59:37 -0400
commitbd30df44788c6a74ab9943b8b41b12df338e105b (patch)
treeef03b6733100bcb85ca4f418c0511c08386c5a83 /maintMakefile
parent1f2fd22fec97191ed24ce30404d526c82bba70de (diff)
downloadgunmake-bd30df44788c6a74ab9943b8b41b12df338e105b.tar.gz
* configure.ac, maintMakefile, w32/Makefile.am: Fix autotools issues.
Reported by Paul Eggert <eggert@cs.ucla.edu>
Diffstat (limited to 'maintMakefile')
-rw-r--r--maintMakefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/maintMakefile b/maintMakefile
index 69cb586..7f34860 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -141,13 +141,13 @@ ChangeLog: .check-git-HEAD
## Updating files. ##
## ---------------- ##
-WGET = wget --passive-ftp -nv
+WGET = wget --passive-ftp -np -nv
ftp-gnu = ftp://ftp.gnu.org/gnu
move_if_change = if test -r $(target) && cmp -s $(target).t $(target); then \
echo $(target) is unchanged; rm -f $(target).t; \
else \
- mv $(target).t $(target); \
+ mv -f $(target).t $(target); \
fi
# ------------------- #
@@ -159,8 +159,7 @@ move_if_change = if test -r $(target) && cmp -s $(target).t $(target); then \
# http://translation.sf.net/maint/
# ftp://tiger.informatik.hu-berlin.de/pub/po/maint/
-po_wget_flags = --recursive --level=1 --no-directories --no-parent \
- --no-check-certificate
+po_wget_flags = --recursive --level=1 --no-directories --no-check-certificate
po_repo = http://translationproject.org/latest/$(PACKAGE)
.PHONY: do-po-update po-update
do-po-update:
@@ -169,7 +168,8 @@ do-po-update:
&& mkdir "$$tmppo" \
&& (cd "$$tmppo" \
&& $(WGET) $(po_wget_flags) -A '*.po' $(po_repo)) \
- && cp "$$tmppo"/*.po $(top_srcdir)/po && rm -rf "$$tmppo"
+ && cp "$$tmppo"/*.po $(top_srcdir)/po \
+ && rm -rf "$$tmppo"
cd po && $(MAKE) update-po
$(MAKE) po-check