diff options
author | ache <ache@ache.one> | 2017-08-20 19:50:47 +0000 |
---|---|---|
committer | ache <ache@ache.one> | 2017-08-20 19:50:47 +0000 |
commit | 919d7c2fbdce46fd98e894098074c64dc671611c (patch) | |
tree | dcf17e6822f683fc52244278e322162326ebd98d /makefile | |
parent | Implémente link canonical (diff) |
W3C HTML Nu modification
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -28,12 +28,12 @@ bin/introFilter: src/introFilter.hs src/Id.hs article/%.html: article/%.md bin/articleFilter bin/titleFilter $(BASE_HTML) pandoc --filter bin/articleFilter $< > ${@:.html=.htm} m4 -D TITLE_TITLE="`pandoc --filter bin/titleFilter $<`" headers.m4 > ${basename $@}_header.html - m4 -D tmpFileNameArticle=${@:.html=.htm} -D linkFileNameArticle=${<:.md=.html} -D HEADER_HEADER=${basename $@}_header.html -D CANONIC="//$@" article/article.m4 > $@ + m4 -D tmpFileNameArticle=${@:.html=.htm} -D linkFileNameArticle=${<:.md=.html} -D HEADER_HEADER=${basename $@}_header.html -D CANONIC="/$@" article/article.m4 > $@ contact/index.html: contact/index.md bin/titleFilter pandoc $< > ${@:.html=.htm} m4 -D TITLE_TITLE="`pandoc --filter bin/titleFilter $<`" headers.m4 > ${basename $@}_header.html - m4 -D tmpFileNameArticle=${@:.html=.htm} -D linkFileNameArticle=${<:.md=.html} -D HEADER_HEADER=${basename $@}_header.html -D CANONIC="//contact" article/article.m4 > $@ + m4 -D tmpFileNameArticle=${@:.html=.htm} -D linkFileNameArticle=${<:.md=.html} -D HEADER_HEADER=${basename $@}_header.html -D CANONIC="/contact" article/article.m4 > $@ article/%_intro.html: article/%.md bin/introFilter pandoc --filter bin/introFilter $< > ${@:.html=.htm} @@ -43,7 +43,7 @@ articles.htm: $(ALL_ARTICLES_INTRO_OUT) bin/introFilter cat $(ALL_ARTICLES_INTRO_OUT) > $@ headers_index.htm: - m4 -D TITLE_TITLE="Licornes, hérissons et renards" -D CANONIC="//" headers.m4 > $@ + m4 -D TITLE_TITLE="Licornes, hérissons et renards" -D CANONIC="/" headers.m4 > $@ index.html: index.m4 $(BASE_HTML) headers_index.htm m4 $< > $@ |