From 0aaf1a78b3a28cb579a8ca122067a9aa6f9f4a13 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Wed, 12 Apr 2017 15:11:22 +0000 Subject: [PATCH] projects-dir.mk: Fix documentation URL Signed-off-by: Jan Lindemann --- make/projects-dir.mk | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/make/projects-dir.mk b/make/projects-dir.mk index ab8e484c..364e9b81 100644 --- a/make/projects-dir.mk +++ b/make/projects-dir.mk @@ -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)