X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/77ab25edd98ec5a3871fc07bceaa0cd61949b69e..HEAD:/Makefile diff --git a/Makefile b/Makefile index 49bf4d2..b659bfe 100644 --- a/Makefile +++ b/Makefile @@ -21,3 +21,21 @@ 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 $< '*/$@'