diff --git a/math-replay/Makefile b/math-replay/Makefile index 14407cb..ee31d20 100644 --- a/math-replay/Makefile +++ b/math-replay/Makefile @@ -1,8 +1,11 @@ ALL := $(patsubst %.haml,%.html,$(shell find . -name '*.haml')) +ALL += $(patsubst %.tex,%.pdf,$(shell find . -name '*.tex')) %.html:%.haml haml $^ $@ +%.pdf:%.tex + texi2pdf $^ -o $@ all: $(ALL)