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 $@ lib/.ckeditor: lib/.ckeditor-build.js git clone git://github.com/ckeditor/ckeditor-dev $@ cp $^ lib/.ckeditor/dev/builder/build-config.js lib/ckeditor: lib/.ckeditor /bin/bash $^/dev/builder/build.sh cat $^/dev/builder/release/ckeditor/lang/nl.js >>$^/dev/builder/release/ckeditor/ckeditor.js #TODO: strip headers #TODO: cat dialogs psw-filters >>js ln -s .ckeditor/dev/builder/release/ckeditor $@ .fontello.url: .fontello-config.json curl -sSf -o $@ --form 'config=@$<' https://fontello.com .fontello.zip: .fontello.url curl -sSf -o $@ https://fontello.com/$$(cat $<)/get minimedit.%: .fontello.zip unzip -q -j -DD -o $< '*/$@'