a5c081d3d59d0b15135d3398a4c0ac3735bd47f7
fenris build-system

fenris authored 8 years ago

1) all: build/folksprak.pdf
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) 
12) temp/media/logo.pdf: source/media/logo.svg
13) 	@ echo -e '-- converting logo ...'
14) 	@ mkdir --parents temp/media
15) 	@ convert source/media/logo.svg temp/media/logo.pdf
16) 
17) temp/folksprak.pdf: source/tex/folksprak.tex source/tex/packages.tex source/tex/settings.tex source/tex/meta.tex source/tex/commands.tex source/tex/preface.tex source/tex/grammar.tex source/tex/phonology_and_orthography.tex source/tex/conjugation.tex source/tex/declension.tex source/tex/attributes.tex temp/media/logo.pdf
18) 	@ echo -e '-- compiling document ...'
19) 	@ mkdir --parents temp
20) 	@ xelatex -output-directory=temp source/tex/folksprak.tex > /dev/null
21) 	@ xelatex -output-directory=temp source/tex/folksprak.tex > /dev/null
fenris first commit

fenris authored 8 years ago

22) 
23) build/folksprak.pdf: temp/folksprak.pdf
fenris build-system

fenris authored 8 years ago

24) 	@ mkdir --parents build
25) 	@ cp --recursive temp/folksprak.pdf build/folksprak.pdf