THIS_SPEC=spec-surname EDITOR_EMAIL=me@example.org EDITOR_NAME=My Name EDITOR_AFFILIATION=Invited Expert Overview.html : header index (perl util.pl -h "${THIS_SPEC}" "${EDITOR_EMAIL}" "${EDITOR_NAME}" "${EDITOR_AFFILIATION}" Overview.html index : source-html5 anolis --min-depth=1 --max-depth=6 source-html5 index source-html5 : source perl -e '$$_ = join("", <>); s/.*?//gs; s///g; print' source >source-html5 init : @perl util.pl -i merge : @perl util.pl -m resolved : @perl util.pl -r clean : rm -f index source-html5 Overview.html .PHONY : merge clean merge resolved