From: Ben Pfaff Date: Mon, 7 Sep 2020 17:45:12 +0000 (-0700) Subject: po: Simplify wget command. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d218c6154bd0d33eeb44a9fa6f0271de7222719e;p=pspp po: Simplify wget command. https://translationproject.org/html/maintainers.html shows all kinds of recursive options, but that's for retrieving all of the po files in one go. This makefile doesn't do that, so the recursive options don't help and provoke warnings from wget. --- diff --git a/po/automake.mk b/po/automake.mk index 91b4e64697..d43104b039 100644 --- a/po/automake.mk +++ b/po/automake.mk @@ -129,9 +129,8 @@ CLEAN_LOCAL += po_CLEAN PHONY += po-update po-update: for p in $(POFILES); do \ - wget --recursive --level=1 --accept=po --no-directories --no-use-server-timestamps \ - --directory-prefix=po -O ${top_srcdir}/$$p,tmp \ + wget --no-use-server-timestamps -O $$p,tmp \ https://translationproject.org/latest/pspp/`basename $$p` ; \ - mv ${top_srcdir}/$$p,tmp ${top_srcdir}/$$p; \ + mv $$p,tmp ${top_srcdir}/$$p; \ done $(RM) $(POTFILE)