|
|
@ -1,6 +1,8 @@
|
|
|
|
PANDOC = pandoc
|
|
|
|
PANDOC = pandoc
|
|
|
|
INPUT = README.md
|
|
|
|
INPUT = README.md
|
|
|
|
|
|
|
|
INPUT_LANG = guide-$(GUIDE_LANG).md
|
|
|
|
OUTPUT = tutorial.pdf
|
|
|
|
OUTPUT = tutorial.pdf
|
|
|
|
|
|
|
|
OUTPUT_LANG = tutorial-$(GUIDE_LANG).pdf
|
|
|
|
TITLE = -V title=LearnHaskell
|
|
|
|
TITLE = -V title=LearnHaskell
|
|
|
|
AUTHOR = -V author=bitemyapp
|
|
|
|
AUTHOR = -V author=bitemyapp
|
|
|
|
FONTSIZE = -V fontsize=12pt
|
|
|
|
FONTSIZE = -V fontsize=12pt
|
|
|
@ -13,5 +15,8 @@ FLAGS = --normalize --smart --toc $(VARIABLES)
|
|
|
|
pdf: README.md
|
|
|
|
pdf: README.md
|
|
|
|
$(PANDOC) -s $(INPUT) -o $(OUTPUT) $(FLAGS) --column=80
|
|
|
|
$(PANDOC) -s $(INPUT) -o $(OUTPUT) $(FLAGS) --column=80
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pdf-lang: guide-$(GUIDE_LANG).md
|
|
|
|
|
|
|
|
$(PANDOC) -s $(INPUT_LANG) -o $(OUTPUT_LANG) $(FLAGS) --column=80
|
|
|
|
|
|
|
|
|
|
|
|
dialogues: dialogues.md
|
|
|
|
dialogues: dialogues.md
|
|
|
|
$(PANDOC) -s dialogues.md -o dialogues.pdf $(FLAGS) --column=80
|
|
|
|
$(PANDOC) -s dialogues.md -o dialogues.pdf $(FLAGS) --column=80
|
|
|
|