projects-dir.mk: Fix documentation URL

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-04-12 15:11:22 +00:00
commit 0aaf1a78b3

View file

@ -1,3 +1,14 @@
#
# This is the toplevel Makefile for a janware GmbH software build tree. It is
# provided under the terms of the Gnu Lesser Public License, Version 2.
#
# You will need a janware.com user account for pretty much anything this
# Makefile does. Ask admin@janware.com if you want one.
#
# Run "make doc-project" or check https://janware.com/wiki/pub/en:sw:build:
# for some on-line documentation of how this is meant to work.
#
# ------------ makefile and environment variables
ifneq ($(PROJECTS),)
@ -89,7 +100,7 @@ echo-prereq-release:
@$(PROJECTS_PY) required-pkg --flavour release $(BUILD_PROJECTS)
doc-project doc-module:
$(BROWSER) https://janware.com/wiki/pub/sw:build:
$(BROWSER) $(firstword $(shell sed '/https:/ !d; s%.*https%https%; s/ .*//' $(firstword $(MAKEFILE_LIST))))
pkg-%: pull.done
$(BUILD_PY) $@ $(BUILD_PROJECTS)