From a166d9f6d210c2494e8988075479c750ba897a61 Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Wed, 25 Mar 2015 19:13:47 +0100 Subject: [PATCH] Removed placeholder --- img/.gitignore | 1 - img/Makefile | 9 +-------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/img/.gitignore b/img/.gitignore index cb37a96..48370b9 100644 --- a/img/.gitignore +++ b/img/.gitignore @@ -3,5 +3,4 @@ polytechlille.png lille1.png mainBgPattern.png polyMap.png -ph*.png /desc*.jpg diff --git a/img/Makefile b/img/Makefile index 1540a0c..5ecbc6e 100755 --- a/img/Makefile +++ b/img/Makefile @@ -1,14 +1,12 @@ VECTORS=$(shell echo *.svg) -PLACEHOLDERS=200 CUSTOM=mainBgPattern.png polyMap.png COMPRESSED=$(shell cd orig; echo *.jpg) MATRIXED=$(subst svg,png,$(VECTORS)) -PLACEHOLDERS_PNG=$(addprefix ph,$(addsuffix .png,$(PLACEHOLDERS))) DESC=Descriptif Concept Activites DESC_JPG=$(addprefix desc,$(addsuffix .jpg,$(DESC))) -ALL=$(COMPRESSED) $(MATRIXED) $(PLACEHOLDERS_PNG) $(DESC_JPG) $(CUSTOM) +ALL=$(COMPRESSED) $(MATRIXED) $(DESC_JPG) $(CUSTOM) all: $(ALL) @@ -33,11 +31,6 @@ descConcept.jpg: orig/descConcept.png descActivites.jpg: orig/descActivites.jpg convert $< -set option:size '%[fx:min(w,h)]x%[fx:min(w,h)]' xc:none +swap -gravity east -composite -resize x400 -quality 90% $@ -# PLACEHOLDERS -ph%.png: - wget "http://fakeimg.pl/$(subst ph,,$(subst .png,,$@))/" -O $@ - optipng -o7 $@ - # MATRIXED # $(MATRIXED): $(subst png,svg,$@) %.png: %.svg -- libgit2 0.21.2