update
[crowdsupply.git] / Makefile
1 SRC = updates
2 SOURCES = $(shell find $(SRC) -name "*.md")
3 PDFS = $(SOURCES:$(SRC)/%.md=%.pdf)
4
5 all: $(PDFS)
6
7 debug:
8 $(info SOURCES is $(SOURCES))
9 $(info PDFS is $(PDFS))
10
11 %.pdf:$(SRC)/%.md
12 pandoc -s $< -o $@
13
14 clean:
15 rm -rf *.pdf
16
17 .PHONY: all clean debug