Makefile: fix '#' for some GNU Make/Bash versions
This commit is contained in:
@@ -17,7 +17,7 @@ endef
|
||||
|
||||
# provide a title to pandoc. We take the first line starting with '#',
|
||||
# and remove initial '#' and spaces
|
||||
TITLE = $(shell sed -n '0,/^#/ s/^[# ]*//p' $1)
|
||||
TITLE = $(shell sed -n '0,/^\#/ s/^[\# ]*//p' $1)
|
||||
|
||||
OPTS = --standalone --include-in-header=$(CSSINC) --template=$(TEMPLATE) \
|
||||
--from=gfm --to=html5
|
||||
|
Reference in New Issue
Block a user