summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2021-11-03 22:52:37 +0100
committerVincent Douillet <vincent@vdouillet.fr>2021-11-03 22:52:37 +0100
commit83468c89d19da0d060740d874d03b37a9eebcf03 (patch)
tree79fb820afe2fab545d844711ce14a5e533865818 /Makefile
parentcbf8d42fa57d53cef1c27d64067a8d61b44e3509 (diff)
fix Makefile on Linux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 497f830..7f94b50 100644
--- a/Makefile
+++ b/Makefile
@@ -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