Fixed makefile file fidning, went from *.md to *.mdwn. Created dedicated
authorCole Poirier <colepoirier@gmail.com>
Fri, 3 Apr 2020 18:03:03 +0000 (11:03 -0700)
committerCole Poirier <colepoirier@gmail.com>
Fri, 3 Apr 2020 18:03:03 +0000 (11:03 -0700)
pdf output dir.

Makefile

index 34ff76116368e570537f4a7ccec2014104180e33..669cb381e8fb01778d3e1f5c467b2ad2cf472b07 100644 (file)
--- 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