9b21fc2c149922fab59041d1c4ac3afd213c2deb
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

1) all: build/draft.html build/draft.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 Wolf advanced

Fenris Wolf authored 8 years ago

12) 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
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
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

15) 	@ php source/structure/draft.html.php > build/draft.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) 
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

22) build/draft.css: source/style/common.less source/style/concrete.less
fenris moved to html

fenris authored 8 years ago

23) 	@ echo -e '-- compiling style ...'
24) 	@ mkdir --parents temp
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

25) 	@ cat source/style/common.less source/style/concrete.less > temp/draft.less
fenris build-system

fenris authored 8 years ago

26) 	@ mkdir --parents build
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

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