2012-04-02 11:42:09 +00:00
|
|
|
ALL := $(patsubst %.haml,%.html,$(shell find . -name '*.haml'))
|
2012-04-02 11:47:11 +00:00
|
|
|
ALL += $(patsubst %.tex,%.pdf,$(shell find . -name '*.tex'))
|
2012-04-02 11:42:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%.html:%.haml
|
|
|
|
haml $^ $@
|
|
|
|
|
2012-04-02 11:47:11 +00:00
|
|
|
%.pdf:%.tex
|
|
|
|
texi2pdf $^ -o $@
|
2012-04-02 11:42:09 +00:00
|
|
|
|
|
|
|
all: $(ALL)
|