X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=sh-gallery.git;a=blobdiff_plain;f=Makefile;h=e3ca112e377ab96bcf246edb54819572c8dd45f6;hp=45424fa8f866e07f4be67785395630a71d105684;hb=2ebf1fb613e9349524ee14086cf383cd4d3a9987;hpb=9b5cf664e4975fc26825a031a1f0cc3c492e72e7 diff --git a/Makefile b/Makefile index 45424fa..e3ca112 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,11 @@ SHELL := bash -#PICS := $(wildcard pictest/DSC?????.jpg) -PICS := $(wildcard sony/DSC?????.jpg) -# PICS := $(wildcard sony/DSC?????.jpg htc/IMG_*_??????.jpg) +PICS := $(wildcard sony/DSC?????.jpg htc/IMG_*_??????.jpg) SMALL := $(PICS:.jpg=_small.jpg) THUMB := $(PICS:.jpg=_thumb.jpg) -all: $(SMALL) $(THUMB) small.zip big.zip +all: wtf $(SMALL) $(THUMB) small.zip big.zip ./jpg2html.sh %_small.jpg: %.jpg @@ -23,6 +21,11 @@ big.zip: $(PICS) small.zip: $(SMALL) zip -r $@ $^ -.PHONY: all clean +wtf: + rm -f {sony,htc}/socialshareprivacy + cd sony; ln -s ../socialshareprivacy/ + cd htc; ln -s ../socialshareprivacy/ + +.PHONY: all clean wtf clean: - rm -rf sony/*_{small,thumb}.jpg sony/*.html index.html *.zip + rm -rf {htc,sony}/*_{small,thumb}.jpg {htc,sony}/*.html index.html *.zip