diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2021-11-03 22:52:37 +0100 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2021-11-03 22:52:37 +0100 |
commit | 83468c89d19da0d060740d874d03b37a9eebcf03 (patch) | |
tree | 79fb820afe2fab545d844711ce14a5e533865818 | |
parent | cbf8d42fa57d53cef1c27d64067a8d61b44e3509 (diff) |
fix Makefile on Linux
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ about : .md.html: @echo "Processing $<" @cat template/header.html > tmp.html - @ARTICLE_TITLE=`head -n1 $< | cut -d'# ' -f2` ; \ + @ARTICLE_TITLE=`head -n1 $< | cut -d'#' -f2` ; \ sed -i "s/\$$title/$$ARTICLE_TITLE/g" tmp.html @echo '<article>' >> tmp.html @$(MD) $< >> tmp.html |