Skip to content

Instantly share code, notes, and snippets.

@glasnt glasnt/Makefile forked from christian-marie/Makefile
Last active Aug 29, 2015

What would you like to do?
Makefile for all the awesome "markdown -> pandoc -> pdf"-ness
MARKDOWNS=$(wildcard *.md)
all: $(PDFS)
rm -f $(PDFS)
pandoc -V geometry:margin=1in -V papersize:"a4paper" --toc $< -o $@
#`while :; do inotifywait *.md && make; done`
#then if you open it with evince, whenever you write out it should update
# -- pingu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.