summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-30 14:40:15 +0200
committerJonas Smedegaard <dr@jones.dk>2017-03-30 14:40:15 +0200
commit72257a28c910cb89436de6ff828d56be2fab560a (patch)
tree488d58bbb8037730b1364a73de13e9f276b3a015
parent99a3f6d7f827af3fe1ec0d2f9679c77821310d0e (diff)
Use cURL (not wget), and uncomment download target for front page photo (works with cURL).
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
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 $< $@