From d218c6154bd0d33eeb44a9fa6f0271de7222719e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 7 Sep 2020 10:45:12 -0700 Subject: [PATCH] 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. --- po/automake.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) -- 2.30.2