Commit 1d9a4d91 authored by Alf Watt's avatar Alf Watt
Browse files

Markdown isn't necessarily installed on all systems

parent 44ba7570
......@@ -32,8 +32,7 @@ clean-build:
find . -type f -name '*.h' | xargs headerdoc2html -o $(DOCS_DIR)
gatherheaderdoc $(DOCS_DIR)
markdown > $(DOCS_DIR)/index.html
open $(DOCS_DIR)/index.html
if [ -x `which markdown` ]; then markdown > $(DOCS_DIR)/index.html && open $(DOCS_DIR)/index.html; fi
.PHONY: clean-headerdoc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment