From: Cole Poirier Date: Fri, 3 Apr 2020 18:03:03 +0000 (-0700) Subject: Fixed makefile file fidning, went from *.md to *.mdwn. Created dedicated X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96b26d87637168822c5d4399c8c83dfdec2bc760;p=crowdsupply.git Fixed makefile file fidning, went from *.md to *.mdwn. Created dedicated pdf output dir. --- diff --git a/Makefile b/Makefile index 34ff761..669cb38 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SRC = updates -SOURCES = $(shell find $(SRC) -name "*.md") -PDFS = $(SOURCES:$(SRC)/%.md=%.pdf) +SOURCES = $(shell find $(SRC) -name "*.mdwn") +PDFS = $(SOURCES:$(SRC)/%.mdwn=%.pdf) all: $(PDFS) @@ -8,8 +8,8 @@ debug: $(info SOURCES is $(SOURCES)) $(info PDFS is $(PDFS)) -%.pdf:$(SRC)/%.md - pandoc -s $< -o $@ +%.pdf:$(SRC)/%.mdwn + pandoc -s $< -o pdfs/$@ clean: rm -rf *.pdf