Commit 53440d6c authored by Gabriel Scherer's avatar Gabriel Scherer

add a main.html Makefile target, built using hevea

parent 73ec6752
......@@ -8,3 +8,6 @@
*.fdb_latexmk
*.fls
main.pdf
*.haux
*.htoc
main.html
\ No newline at end of file
......@@ -2,14 +2,19 @@
export TEXINPUTS=.:
TEXDEPS = $(wildcard *.tex) $(wildcard *.bib) $(wildcard *.sty) $(wildcard *.mly)
all: main.pdf
%.pdf: %.tex $(wildcard *.tex) $(wildcard *.bib) $(wildcard *.sty) $(wildcard *.mly)
%.pdf: %.tex $(DEPS)
pdflatex $*
bibtex $*
pdflatex $*
pdflatex $*
main.html: main.tex $(DEPS) $(wildcard *.hva)
hevea -fix main.tex
loop:
latexmk -pdf -pvc main
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment