defs.mk: Add target doc-project

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-12-04 13:11:33 +00:00
commit 59eb4c1ff8

View file

@ -161,7 +161,8 @@ endif
JANWARE_USER ?= $(shell id -un)
JANWARE_CLIENT ?= jw
JANWARE_WIKI ?= $(JANWARE_CLIENT)
JANWARE_DOC_URL ?= https://janware.com/wiki/$(JANWARE_WIKI)/assets:types:data:sw:$(PROJECT):$(notdir $(shell pwd))
JANWARE_URL_DOC_MODULE ?= https://janware.com/wiki/$(JANWARE_WIKI)/assets:types:data:sw:$(PROJECT):$(notdir $(shell pwd))
JANWARE_URL_DOC_PROJECT ?= https://janware.com/wiki/$(JANWARE_WIKI)/assets:types:data:sw:$(PROJECT):$(PROJECT)
FULL_NAME ?= $(shell id -nu | xargs getent passwd | cut -d: -f5)
DEVELOPMENT ?= $(shell echo $(VERSION) | grep -q 'dev' && echo true)
@ -1066,8 +1067,11 @@ echo-vars:
echo-makefiles:
strace -f make nothing 2>&1 | sed '/open(.*\(Makefile\|\.mk\)/ !d; s/.*open("//; s/", O_.*//'
view-doc:
$(BROWSER) $(JANWARE_DOC_URL)
doc-module:
$(BROWSER) $(JANWARE_URL_DOC_MODULE)
doc-project:
$(BROWSER) $(JANWARE_URL_DOC_PROJECT)
endif