diff --git a/Makefile b/Makefile index 722b76edb..5c2b6b411 100644 --- a/Makefile +++ b/Makefile @@ -101,6 +101,8 @@ markdown-toc: if grep -q '' $$f; then \ echo markdown-toc: processing $$f; \ npx --no -- markdown-toc --bullets "-" --no-first-h1 --no-stripHeadingTags -i $$f || exit 1; \ + elif grep -q '' $$f; then \ + echo markdown-toc: ERROR: '' missing from $$f; exit 1; \ else \ echo markdown-toc: no TOC markers, skipping $$f; \ fi; \