outdir=out style=resume.css html=$(outdir)/resume.html .SILENT : help .DEFAULT: md-html5 md-html5: setup cp res/header.html $(html) cat res/style-header.css >> $(html) cat res/style-markdown.css >> $(html) printf '\n\n
\n' >> $(html) cmark --unsafe resume.md >> $(html) printf '
\n\n' >> $(html) clean: rm -rv $(outdir)/* setup: if [ ! -d $(outdir) ]; then mkdir $(outdir); fi help: echo -e '\n'\ 'Make options:\n' \ 'all: Makes html5 document\n' \ 'embed: Make html document with embedded styles (more portable than xhtml)\n'