automatically building latex, too

This commit is contained in:
Dan Buch 2012-04-02 07:47:11 -04:00
parent 68886709d6
commit d32f9bfeeb

View File

@ -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)