summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-06-05 19:52:53 +0000
committerGitHub <noreply@github.com>2019-06-05 19:52:53 +0000
commit1870b34bd69142910688f7a96b36397dae1c670d (patch)
tree5d650e6ea97e535388f831a09b2e065ba478e214 /Makefile
parente11e2a064dd91a11296a69192ae70f3418141d5a (diff)
parent7a27caa5f451fc96b620a0582bad3c780ef8bdef (diff)
Merge pull request #265 from sifive/open-docs
Add make target to open local documentation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e742c35..39b4aed 100644
--- a/Makefile
+++ b/Makefile
@@ -100,8 +100,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: