box-o-sand/math-replay/Makefile
2012-04-02 07:47:11 -04:00

12 lines
198 B
Makefile

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)