From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 168221382C5 for ; Sat, 6 Feb 2021 10:39:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C1D1E083E; Sat, 6 Feb 2021 10:39:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F400E083E for ; Sat, 6 Feb 2021 10:39:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B267343439 for ; Sat, 6 Feb 2021 10:39:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90AD54C for ; Sat, 6 Feb 2021 10:39:00 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1612607908.97e657e31519d09f0517f89599233cc9bda79ac8.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: / X-VCS-Repository: proj/devmanual X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 97e657e31519d09f0517f89599233cc9bda79ac8 X-VCS-Branch: master Date: Sat, 6 Feb 2021 10:39:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 304abec0-2d3c-46c5-bdc4-745344eadcc5 X-Archives-Hash: 31e3eea8ceedef539c9dce51c91d4941 commit: 97e657e31519d09f0517f89599233cc9bda79ac8 Author: Ulrich Müller gentoo org> AuthorDate: Sat Feb 6 10:38:28 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 6 10:38:28 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=97e657e3 Makefile: Output a warning if eclass documentation is not found Signed-off-by: Ulrich Müller gentoo.org> Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8eb405c..618b190 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,11 @@ documents.js: bin/build_search_documents.py $(XMLS) xsltproc --param offline "$(OFFLINE)" devbook.xsl $< > $@ eclass-reference/text.xml: - bin/gen-eclass-html.sh + @echo "*** Warning: No eclass documentation found." >&2 + @echo "Install app-doc/eclass-manpages and" >&2 + @echo "run bin/gen-eclass-html.sh before calling make." >&2 + @echo "Creating a placeholder index as fallback." >&2 + bin/gen-eclass-html.sh -n # Each HTML file must depend on its XML file with all its descendants # (for the contents tree), all its ancestors (for breadcrumbs), and