Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 407 Bytes
HTML = $(shell ls *.tex | sed 's/\.tex/.html/')
PDF = $(shell ls *.tex | sed 's/\.tex/.pdf/')
all: $(HTML) #$(PDF)
pdf: $(PDF)
%.html : %.tex
grep ^%SCRIPT $< | cut -c9- | sh
@./.process_verbatims $<
./.latex_to_html5 < $< > $@
%.pdf : %.tex %.html .header.tex .footer.tex
cat .header.tex $< .footer.tex | ./.pdflatexfilter > $@
clean :
$(RM) $(HTML) $(PDF) canvas *.png *.tiff *.g *.txt o/*.png