From: Luke Kenneth Casson Leighton Date: Sun, 19 Jan 2020 00:45:52 +0000 (+0000) Subject: add immanuel Makefile at top level X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26d33041f84c12c73a0c9fd2ef6eef22b2432c9f;p=crowdsupply.git add immanuel Makefile at top level --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc615b2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.*.sw? +*.pdf diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..34ff761 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +SRC = updates +SOURCES = $(shell find $(SRC) -name "*.md") +PDFS = $(SOURCES:$(SRC)/%.md=%.pdf) + +all: $(PDFS) + +debug: + $(info SOURCES is $(SOURCES)) + $(info PDFS is $(PDFS)) + +%.pdf:$(SRC)/%.md + pandoc -s $< -o $@ + +clean: + rm -rf *.pdf + +.PHONY: all clean debug