From 72257a28c910cb89436de6ff828d56be2fab560a Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 30 Mar 2017 14:40:15 +0200 Subject: Use cURL (not wget), and uncomment download target for front page photo (works with cURL). --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 83a48af..91001d2 100644 --- a/Makefile +++ b/Makefile @@ -50,19 +50,19 @@ all: $(flavors:%=$(stem)-%.pdf) download:: get-$(stem).raw download:: get-$(stem)-front-logo2.bmp get-$(stem)-front-a4-orig.svg +download:: get-$(stem)-front-photo-orig.jpg: get-%: get-$(stem).raw: get-%: ./mediawiki-fetch $(source_baseurl) $(source_basename) $* -# upstream source requires login -#get-$(stem)-front-photo-orig.jpg: get-%: -# wget -O $* http://audiovisual.europarl.europa.eu/Asset.aspx?type=nl&id=52c6e976-dd19-4a10-a8f0-afebae7fddd8 +get-$(stem)-front-photo-orig.jpg: get-%: + curl -o '$*' 'http://audiovisual.europarl.europa.eu/Asset.aspx?type=nl&id=52c6e976-dd19-4a10-a8f0-afebae7fddd8' get-$(stem)-front-logo2.bmp: get-%: - wget -O $* http://siri.biks.dk/transparency/GreensEFA-EN.bmp + curl -o '$*' 'http://siri.biks.dk/transparency/GreensEFA-EN.bmp' get-$(stem)-front-a4-orig.svg: get-%: - wget -O $* http://siri.biks.dk/transparency/transparency_front.svg + curl -o '$*' 'http://siri.biks.dk/transparency/transparency_front.svg' $(stem)-front-photo.jpg: $(stem)-front-photo-orig.jpg cp -f $< $@ -- cgit v1.2.3