all: build/draft.html build/draft.css build/logo.svg .PHONY: all clean: @ rm --recursive --force temp .PHONY: clean clear: clean @ rm --recursive --force build .PHONY: clear build/draft.html: source/logic/server/settings.php source/structure/draft.html.php source/structure/meta.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/vocabulary.html.php @ echo -e '-- compiling document ...' @ mkdir --parents build @ php source/structure/draft.html.php > build/draft.html 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