all: build/draft.html build/draft.css build/draft.js build/logo.svg .PHONY: all clean: @ rm --recursive --force temp .PHONY: clean clear: clean @ rm --recursive --force build .PHONY: clear build/draft.html: source/data/phonology_and_orthography.json source/data/personal_pronouns.json source/logic/server/data.php source/logic/server/settings.php source/structure/draft.html.php source/structure/meta.html.php source/structure/introduction.html.php source/structure/preface.html.php source/structure/grammar.html.php source/structure/phonology_and_orthography.html.php source/structure/pronouns.html.php source/structure/personal_pronouns.html.php source/structure/correlatives.html.php source/structure/conjugation.html.php source/structure/declension.html.php source/structure/attributes.html.php source/structure/sentence_structure.html.php source/structure/vocabulary.html.php @ echo -e '-- compiling document ...' @ mkdir --parents build @ php source/structure/draft.html.php > build/draft.html build/draft.js: source/logic/client/draft.js @ echo -e '-- copying client-logic ...' @ mkdir --parents build @ cp --recursive source/logic/client/draft.js build/draft.js build/logo.svg: source/media/logo.svg @ echo -e '-- copying logo ...' @ mkdir --parents build @ cp --recursive source/media/logo.svg build/logo.svg build/draft.css: source/style/common.less source/style/concrete.less @ echo -e '-- compiling style ...' @ mkdir --parents temp @ cat source/style/common.less source/style/concrete.less > temp/draft.less @ mkdir --parents build @ lessc temp/draft.less > build/draft.css