a8c049f80f8f2c54ca9f9facf4c79234c7347a1f
fenris moved to html

fenris authored 8 years ago

1) all: build/folksprak.html build/folksprak.css build/logo.svg
fenris build-system

fenris authored 8 years ago

2) .PHONY: all
fenris first commit

fenris authored 8 years ago

3) 
fenris build-system

fenris authored 8 years ago

4) clean: 
5) 	@ rm --recursive --force temp
6) .PHONY: clean
fenris first commit

fenris authored 8 years ago

7) 
fenris build-system

fenris authored 8 years ago

8) clear: clean
9) 	@ rm --recursive --force build
10) .PHONY: clear
11) 
fenris moved to html

fenris authored 8 years ago

12) 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
fenris build-system

fenris authored 8 years ago

13) 	@ echo -e '-- compiling document ...'
fenris moved to html

fenris authored 8 years ago

14) 	@ mkdir --parents build
15) 	@ php source/html.php/folksprak.html.php > build/folksprak.html
fenris first commit

fenris authored 8 years ago

16) 
fenris moved to html

fenris authored 8 years ago

17) build/logo.svg: source/media/logo.svg
18) 	@ echo -e '-- copying logo ...'
19) 	@ mkdir --parents build
20) 	@ cp --recursive source/media/logo.svg build/logo.svg
21) 
22) build/folksprak.css: source/less/common.less source/less/concrete.less
23) 	@ echo -e '-- compiling style ...'
24) 	@ mkdir --parents temp
25) 	@ cat source/less/common.less source/less/concrete.less > temp/folksprak.less
fenris build-system

fenris authored 8 years ago

26) 	@ mkdir --parents build
fenris moved to html

fenris authored 8 years ago

27) 	@ lessc temp/folksprak.less > build/folksprak.css