3 PICS := $(wildcard sony/DSC?????.jpg htc/IMG_*_??????.jpg)
4 SMALL := $(PICS:.jpg=_small.jpg)
5 THUMB := $(PICS:.jpg=_thumb.jpg)
8 all: wtf $(SMALL) $(THUMB) small.zip big.zip
13 convert -scale 800x800 $< $@
15 %_thumb.jpg: %_small.jpg
16 convert -scale 80x80 $< $@
25 rm -f {sony,htc}/socialshareprivacy
26 cd sony; ln -s ../socialshareprivacy/
27 cd htc; ln -s ../socialshareprivacy/
31 rm -rf {htc,sony}/*_{small,thumb}.jpg {htc,sony}/*.html index.html *.zip