From: Andre Noll Date: Sat, 11 Jan 2020 11:21:47 +0000 (+0100) Subject: Avoid stray '' text. X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=61020c4dd82a9ae61e544bf56b10649e1d4376ed;p=aple.git Avoid stray '' text. The markdown converter converts the doctype header into html which results in a stray line at the top of the chapter. This only affects the chapters that still use markdown: Bash, Git, Command Line Utilities, and Gridengine. This patch applies a silly workaround. In the long run, the chapters should be converted to plain html. --- diff --git a/Makefile b/Makefile index d210e2b..14357e8 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,8 @@ $(DEST): # m4 -> html -MD_CMD = m4 $(M4_ARGS) $< | markdown -f tables,links > $@ +MD_CMD = m4 $(M4_ARGS) $< | sed -e '1,/^/d' \ + | markdown -f tables,links > $@ $(DEST)/Bash.html: Bash.m4 $(MACROS) | $(DEST) $(MD_CMD)