X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/c7c13a51f9049afdd8d7be9a5f2129865642fbe7..77ab25edd98ec5a3871fc07bceaa0cd61949b69e:/Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..49bf4d2 --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +foto: lib/album.js lib/photoswipe.css lib/photoswipe-ui + +lib/album.js: lib/.photoswipe/dist/photoswipe.min.js lib/.photoswipe/dist/photoswipe-ui-default.min.js lib/.justified/dist/justified-layout.js + cat $^ >$@ + +lib/photoswipe.css: lib/.photoswipe/dist/photoswipe.css + ln -sf ../$^ $@ + +lib/photoswipe-ui: lib/.photoswipe/dist/default-skin + ln -sf ../$^ $@ + +lib/.photoswipe/dist/photoswipe.css: lib/.photoswipe +lib/.photoswipe/dist/photoswipe.min.js: lib/.photoswipe +lib/.photoswipe/dist/default-skin: lib/.photoswipe + +lib/.photoswipe: + git clone https://github.com/dimsemenov/PhotoSwipe $@ + +lib/.justified/dist/justified-layout.js: lib/.justified + +lib/.justified: + git clone https://github.com/flickr/justified-layout $@ +