diff options
author | ache <ache@ache.one> | 2017-08-17 05:26:14 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2017-08-17 05:26:14 +0200 |
commit | 17f2d30b5fda09f0c27898a81a5c4b92a5a8b53f (patch) | |
tree | 2c9c8edd79c4e6b0ccc3e23155d0aba5e87de4cb /makefile | |
parent | New website prototype (diff) |
Quick fix of m4 file intro makefile
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,13 +20,13 @@ bin/introFilter: src/introFilter.hs src/Id.hs article/%.html: article/%.md bin/articleFilter $(BASE_HTML) pandoc --filter bin/articleFilter $< > ${@:.html=.htm} - cat ${@:.html=.htm} | m4 > $@ + m4 -D tmpFileNameArticle=${@:.html=.htm} -D linkFileNameArticle=${<:.md=.html} article/article.m4 > $@ NUMBERS = 1 2 3 4 article/%_intro.html: article/%.md bin/introFilter pandoc --filter bin/introFilter $< > ${@:.html=.htm} - cat ${@:.html=.htm} | m4 -D linkFileNameArticle=${<:.md=.html} > $@ + m4 -D tmpFileNameArticle=${@:.html=.htm} -D linkFileNameArticle=${<:.md=.html} article/intro.m4 > $@ articles.htm: $(ALL_ARTICLES_INTRO_OUT) bin/introFilter cat $(ALL_ARTICLES_INTRO_OUT) > $@ |