add counter label
[sh-gallery.git] / Makefile
index 7b7a9cd0b84fd2080e6f5cf4d418795b3f3d21a6..83e89eaee0076c0f23be19e70cc1b9560260625d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
 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)
 
@@ -12,7 +10,7 @@ all: wtf $(SMALL) $(THUMB) small.zip big.zip
 
 %_small.jpg: %.jpg
        exiftran -a -i $<
-       convert -scale 800x800 $< $@
+       convert -scale 800x600 $< $@
 
 %_thumb.jpg: %_small.jpg
        convert -scale 80x80 $< $@
@@ -30,4 +28,4 @@ wtf:
 
 .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 {sony,htc}/socialshareprivacy