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
img/.gitignore
... ... @@ -3,5 +3,4 @@ polytechlille.png
3 3 lille1.png
4 4 mainBgPattern.png
5 5 polyMap.png
6   -ph*.png
7 6 /desc*.jpg
... ...
img/Makefile
1 1 VECTORS=$(shell echo *.svg)
2   -PLACEHOLDERS=200
3 2 CUSTOM=mainBgPattern.png polyMap.png
4 3  
5 4 COMPRESSED=$(shell cd orig; echo *.jpg)
6 5 MATRIXED=$(subst svg,png,$(VECTORS))
7   -PLACEHOLDERS_PNG=$(addprefix ph,$(addsuffix .png,$(PLACEHOLDERS)))
8 6 DESC=Descriptif Concept Activites
9 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 11 all: $(ALL)
14 12  
... ... @@ -33,11 +31,6 @@ descConcept.jpg: orig/descConcept.png
33 31 descActivites.jpg: orig/descActivites.jpg
34 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 34 # MATRIXED
42 35 # $(MATRIXED): $(subst png,svg,$@)
43 36 %.png: %.svg
... ...