diff --git a/public_html/eh/eh/eh/eh-eh/Makefile b/public_html/eh/eh/eh/eh-eh/Makefile index 0c3b7cb..b6ea90c 100644 --- a/public_html/eh/eh/eh/eh-eh/Makefile +++ b/public_html/eh/eh/eh/eh-eh/Makefile @@ -10,16 +10,15 @@ all: index.html about.html clean: echo '{"articles": []}' > $(article_list); \ - rm $(articles); \ - rm index.html about.html; + # rm $(notdir $(articles)); \ + rm ./index.html ./about.html ./articles.json.tmp; -$(articles): %.html: %.md +$(articles): %.html: %.md clean pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $(notdir $@); \ pandoc $< --template $(list_template) > article.json.tmp.0; \ jq '. += {"filename": "$(notdir $@)"}' article.json.tmp.0 > article.json.tmp.1; \ jq '.articles += [$(shell cat article.json.tmp.1)]' $(article_list) > articles.json.tmp; \ - cat ./articles.json.tmp > ./articles.json; \ - rm ./articles.json.tmp; + cat ./articles.json.tmp > ./articles.json; index.html: index.md $(articles) pandoc $< --template $(template) --css $(style) --metadata-file $(article_list) --highlight-style zenburn --mathml --toc --output $@ diff --git a/public_html/eh/eh/eh/eh-eh/article-1.html b/public_html/eh/eh/eh/eh-eh/article-1.html index 68e02ec..0ebd015 100644 --- a/public_html/eh/eh/eh/eh-eh/article-1.html +++ b/public_html/eh/eh/eh/eh-eh/article-1.html @@ -5,7 +5,7 @@ - Article 1 + Article DSADASD