Blame view

img/Makefile 327 Bytes
05eb2eae   Geoffrey PREUD'HOMME   Better images
1
2
3
4
5
6
  GENIMG=lille1.png polytechlille.png
  CMPIMG=CREP-1.jpg CREP-2.jpg CREP-3.jpg CREP-4.jpg CREP-5.jpg
  
  all: $(GENIMG) $(CMPIMG)
  
  %.png: %.svg
05eb2eae   Geoffrey PREUD'HOMME   Better images
7
8
9
10
  	convert -background none $< $@
  	optipng -o7 $@
  
  %.jpg: orig/%.jpg
9a8ade67   Geoffrey PREUD'HOMME   Larger JPEG for H...
11
  	convert -resize x1200 -strip -interlace Plane -gaussian-blur 0.05 -quality 90% $< $@
05eb2eae   Geoffrey PREUD'HOMME   Better images
12
13
  
  clean:
9a8ade67   Geoffrey PREUD'HOMME   Larger JPEG for H...
14
  	rm -rf $(GENIMG) $(CMPIMG)