From: Bernhard Urban Date: Wed, 11 Jul 2012 11:48:34 +0000 (+0200) Subject: add htc pics X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=sh-gallery.git;a=commitdiff_plain;h=2ebf1fb613e9349524ee14086cf383cd4d3a9987 add htc pics --- diff --git a/Makefile b/Makefile index 7b7a9cd..e3ca112 100644 --- 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) @@ -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 diff --git a/jpg2html.sh b/jpg2html.sh index 5a6d5a0..0fcb147 100755 --- a/jpg2html.sh +++ b/jpg2html.sh @@ -1,6 +1,6 @@ #!/bin/zsh -files=(sony/DSC?????.jpg) +files=(sony/DSC?????.jpg htc/IMG_*_??????.jpg) len=${#files[@]}; touch all.tmp