login/pass: error messages below page title
[minimedit.git] / Makefile
index 49bf4d241662f9f4dd70990887daf9664e1a81f5..b659bfe015cf563ed8b1414bf068b06909240b7d 100644 (file)
--- 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 $< '*/$@'