Skip to content

Commit

Permalink
Merge pull request #16 from zeldovich/mkdir
Browse files Browse the repository at this point in the history
fix makefile rules to create directory first
  • Loading branch information
algofoundation authored Oct 31, 2019
2 parents e6dc73d + 03d36ba commit cbe19ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
pdf/%.pdf: %.md
@mkdir -p $(@D)
pandoc --toc --template template/default.latex -o $@ $<

html/%.html: %.md
@mkdir -p $(@D)
pandoc --toc -o $@ -s $< --mathjax

all: pdf html
Expand Down

0 comments on commit cbe19ea

Please sign in to comment.