Makefile bug fixed
This commit is contained in:
parent
f7ccf4bb87
commit
9315132636
10 changed files with 542 additions and 6 deletions
3
Makefile
3
Makefile
|
|
@ -27,6 +27,9 @@ clean:
|
|||
rm index.html about.html $(articles);
|
||||
|
||||
$(articles): %.html: %.md
|
||||
jq 'del(.articles[] | select(.filename == "$(notdir $@)"))' $(article_list) > articles.json.tmp; \
|
||||
mv ./articles.json.tmp $(article_list); \
|
||||
|
||||
# Build articles using pandoc
|
||||
pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $@; \
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue