all: build/folksprak.html build/folksprak.css build/logo.svg
.PHONY: all
clean:
@ rm --recursive --force temp
.PHONY: clean
clear: clean
@ rm --recursive --force build
.PHONY: clear
build/folksprak.html: source/html.php/folksprak.html.php source/html.php/meta.html.php source/html.php/preface.html.php source/html.php/grammar.html.php source/html.php/phonology_and_orthography.html.php source/html.php/pronouns.html.php source/html.php/conjugation.html.php source/html.php/declension.html.php source/html.php/attributes.html.php
@ echo -e '-- compiling document ...'
@ mkdir --parents build
@ php source/html.php/folksprak.html.php > build/folksprak.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/folksprak.css: source/less/common.less source/less/concrete.less
@ echo -e '-- compiling style ...'
@ mkdir --parents temp
@ cat source/less/common.less source/less/concrete.less > temp/folksprak.less
@ mkdir --parents build
@ lessc temp/folksprak.less > build/folksprak.css