automatically building latex, too

cat-town
Dan Buch 13 years ago
parent 68886709d6
commit d32f9bfeeb

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

Loading…
Cancel
Save