projects
/
sh-gallery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove xhtml and css stuff
[sh-gallery.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 45424fa8f866e07f4be67785395630a71d105684..83e89eaee0076c0f23be19e70cc1b9560260625d 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,18
+1,16
@@
SHELL := bash
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)
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
exiftran -a -i $<
./jpg2html.sh
%_small.jpg: %.jpg
exiftran -a -i $<
- convert -scale 800x
8
00 $< $@
+ convert -scale 800x
6
00 $< $@
%_thumb.jpg: %_small.jpg
convert -scale 80x80 $< $@
%_thumb.jpg: %_small.jpg
convert -scale 80x80 $< $@
@@
-23,6
+21,11
@@
big.zip: $(PICS)
small.zip: $(SMALL)
zip -r $@ $^
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:
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