1
0
Fork 0

.md links should be replaced by .html during the processing, if not, they're dangling links.

This commit is contained in:
Willi Goesgens 2015-09-04 09:48:05 +02:00
parent 771c291042
commit 2ba7863592
1 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,11 @@ book-check-markdown-leftovers:
find books/$(NAME) -name '*.html' -exec grep '##' {} \; -print; \
exit 1; \
fi
@if test "`find books/$(NAME) -name '*.html' -exec grep '\.md\"' {} \; -print | wc -l`" -gt 0; then \
echo "found dangling markdown links: "; \
find books/$(NAME) -name '*.html' -exec grep '\.md"' {} \; -print; \
exit 1; \
fi
build-book-symlinks:
echo "generate backwards compatibility symlinks:"