social shit
[sh-gallery.git] / Makefile
index 45424fa8f866e07f4be67785395630a71d105684..7b7a9cd0b84fd2080e6f5cf4d418795b3f3d21a6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ 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 +23,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