summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-04-11 11:10:32 -0700
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-06-03 10:10:31 -0700
commit7a27caa5f451fc96b620a0582bad3c780ef8bdef (patch)
tree2fe1e53599433b40cdb6d119447b71aab88664ca /Makefile
parentf2c7f75ceef24aec9891d75c2b4fb5db5b847868 (diff)
Add make target to open local documentation
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c19045b..78f8a9b 100644
--- a/Makefile
+++ b/Makefile
@@ -93,8 +93,15 @@ help:
@echo " Exports a program for a single target into a standalone"
@echo " project directory at STANDALONE_DEST."
@echo ""
- @echo " For more information, view the Freedom E SDK Documentation at"
- @echo " https://sifive.github.io/freedom-e-sdk-docs/index.html"
+ @echo " open-docs"
+ @echo " Opens the Freedom E SDK documentation in your HTML"
+ @echo " viewer of choice. The documentation can also be found"
+ @echo " online at"
+ @echo " https://sifive.github.io/freedom-e-sdk-docs/index.html"
+
+.PHONY: open-docs
+open-docs: scripts/open-docs
+ $^
.PHONY: clean
clean: