-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathMakefile
27 lines (19 loc) · 809 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Sets, Logic, Computation text based on OLP
# Makefile
# YOU DO NOT HAVE TO USE THIS MAKEFILE
# Just run pdflatex on whichever tex file you want to compile
# The job of this makefile is to compile *everything*
# Requires latexmk https://www.ctan.org/pkg/latexmk/
# The PDF of the open-logic-config documentation also requires
# pandoc http://pandoc.org/
.PHONY : FORCE_MAKE
all: slc-screen.pdf slc-print.pdf slc-print-cover.pdf index.html
%.pdf : %.tex olprevision.tex FORCE_MAKE
latexmk -pdf -dvi- -ps- $<
index.html: README.md webpage-template.html slc-screen.pdf
convert slc-screen.pdf[0] slc.png
pandoc --template webpage-template.html -f markdown -t html -o index.html README.md
clean:
latexmk -c slc-screen.tex slc-print.tex
olprevision.tex: FORCE_MAKE
../../misc/makeolprevision ../..