You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
395 B
Makefile
14 lines
395 B
Makefile
10 years ago
|
PANDOC = pandoc
|
||
|
INPUT = README.md
|
||
|
OUTPUT = tutorial.pdf
|
||
|
TITLE = -V title=LearnHaskell
|
||
|
AUTHOR = -V author=bitemyapp
|
||
|
FONTSIZE = -V fontsize=12pt
|
||
|
FONTFAMILY = -V fontfamily=sans
|
||
|
PAGESIZE = -V pagesize=a4paper
|
||
|
VARIABLES = $(FONTSIZE) $(PAGESIZE) $(TITLE) $(AUTHOR) $(FONTFAMILY)
|
||
|
FLAGS = --normalize --smart --toc $(VARIABLES)
|
||
|
|
||
|
pdf: README.md
|
||
|
$(PANDOC) -s $(INPUT) -o $(OUTPUT) $(FLAGS) --column=80
|