You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
368 B

13 years ago
ALL := $(patsubst %.haml,%.html,$(shell find . -name '*.haml'))
ALL += $(patsubst %.tex,%.pdf,$(shell find . -name '*.tex'))
13 years ago
%.html:%.haml
haml -Ilib -rhaml/filters-ext $^ $@
13 years ago
%.pdf:%.tex
13 years ago
texi2pdf $^ -o $@ && \
rm -vf $(patsubst %.pdf,%.aux,$(notdir $@)) \
$(patsubst %.pdf,%.log,$(notdir $@))
13 years ago
13 years ago
all: $(ALL)
clean:
rm -vf $(ALL)
.PHONY: all clean