Commit a166d9f6d210c2494e8988075479c750ba897a61

Authored by Geoffrey PREUD'HOMME
1 parent c7d2e510

Removed placeholder

Showing 2 changed files with 1 additions and 9 deletions   Show diff stats
@@ -3,5 +3,4 @@ polytechlille.png @@ -3,5 +3,4 @@ polytechlille.png
3 lille1.png 3 lille1.png
4 mainBgPattern.png 4 mainBgPattern.png
5 polyMap.png 5 polyMap.png
6 -ph*.png  
7 /desc*.jpg 6 /desc*.jpg
1 VECTORS=$(shell echo *.svg) 1 VECTORS=$(shell echo *.svg)
2 -PLACEHOLDERS=200  
3 CUSTOM=mainBgPattern.png polyMap.png 2 CUSTOM=mainBgPattern.png polyMap.png
4 3
5 COMPRESSED=$(shell cd orig; echo *.jpg) 4 COMPRESSED=$(shell cd orig; echo *.jpg)
6 MATRIXED=$(subst svg,png,$(VECTORS)) 5 MATRIXED=$(subst svg,png,$(VECTORS))
7 -PLACEHOLDERS_PNG=$(addprefix ph,$(addsuffix .png,$(PLACEHOLDERS)))  
8 DESC=Descriptif Concept Activites 6 DESC=Descriptif Concept Activites
9 DESC_JPG=$(addprefix desc,$(addsuffix .jpg,$(DESC))) 7 DESC_JPG=$(addprefix desc,$(addsuffix .jpg,$(DESC)))
10 8
11 -ALL=$(COMPRESSED) $(MATRIXED) $(PLACEHOLDERS_PNG) $(DESC_JPG) $(CUSTOM) 9 +ALL=$(COMPRESSED) $(MATRIXED) $(DESC_JPG) $(CUSTOM)
12 10
13 all: $(ALL) 11 all: $(ALL)
14 12
@@ -33,11 +31,6 @@ descConcept.jpg: orig/descConcept.png @@ -33,11 +31,6 @@ descConcept.jpg: orig/descConcept.png
33 descActivites.jpg: orig/descActivites.jpg 31 descActivites.jpg: orig/descActivites.jpg
34 convert $< -set option:size '%[fx:min(w,h)]x%[fx:min(w,h)]' xc:none +swap -gravity east -composite -resize x400 -quality 90% $@ 32 convert $< -set option:size '%[fx:min(w,h)]x%[fx:min(w,h)]' xc:none +swap -gravity east -composite -resize x400 -quality 90% $@
35 33
36 -# PLACEHOLDERS  
37 -ph%.png:  
38 - wget "http://fakeimg.pl/$(subst ph,,$(subst .png,,$@))/" -O $@  
39 - optipng -o7 $@  
40 -  
41 # MATRIXED 34 # MATRIXED
42 # $(MATRIXED): $(subst png,svg,$@) 35 # $(MATRIXED): $(subst png,svg,$@)
43 %.png: %.svg 36 %.png: %.svg