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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ABBB4158042 for ; Fri, 1 Nov 2024 11:20:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C624CE0998; Fri, 1 Nov 2024 11:20:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD0F0E0998 for ; Fri, 1 Nov 2024 11:20:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E8418342FF9 for ; Fri, 1 Nov 2024 11:20:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B8F0198C for ; Fri, 1 Nov 2024 11:20:27 +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: <1730402938.70a4a5abadb22440889b6b30558862d4b26ca5df.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: 70a4a5abadb22440889b6b30558862d4b26ca5df X-VCS-Branch: master Date: Fri, 1 Nov 2024 11:20:27 +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: 2e4cd168-072e-4ab0-87aa-1a353f1a6b4d X-Archives-Hash: d69a56da80fccf94c409685662967d9d commit: 70a4a5abadb22440889b6b30558862d4b26ca5df Author: Ulrich Müller gentoo org> AuthorDate: Thu Oct 31 19:28:58 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Oct 31 19:28:58 2024 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=70a4a5ab Makefile: Don't warn about missing eclass doc when in ebuild context Signed-off-by: Ulrich Müller gentoo.org> Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d022a32..c4bb713 100644 --- a/Makefile +++ b/Makefile @@ -60,10 +60,12 @@ documents.js: bin/build_search_documents.py $(XMLS) xsltproc --param offline "$(OFFLINE)" devbook.xsl $< > $@ eclass-reference/text.xml: - @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 + @if [[ -z $${EBUILD_PHASE} ]]; then \ + 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; \ + fi bin/gen-eclass-html.sh -n appendices/todo-list/index.html: $(XMLS)