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 20E8715812D for ; Mon, 06 Jan 2025 21:39:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C02CE07C7; Mon, 06 Jan 2025 21:39:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 4167BE07C7 for ; Mon, 06 Jan 2025 21:39:37 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5741A34092E for ; Mon, 06 Jan 2025 21:39:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8300AF3 for ; Mon, 06 Jan 2025 21:39:34 +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: <1736199539.56704a0573b9372eaf12f59f38d23c3298b71d1e.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: 56704a0573b9372eaf12f59f38d23c3298b71d1e X-VCS-Branch: master Date: Mon, 06 Jan 2025 21:39:34 +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: aa1e21a9-f627-431f-909c-9604a0a8ca9c X-Archives-Hash: 36f1ef80960e3e96b47070a4c78f1b88 commit: 56704a0573b9372eaf12f59f38d23c3298b71d1e Author: Ulrich Müller gentoo org> AuthorDate: Mon Jan 6 21:38:59 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Jan 6 21:38:59 2025 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=56704a05 Makefile: Test for emake instead of EBUILD_PHASE Signed-off-by: Ulrich Müller gentoo.org> Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ff9e852..e0d7663 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,9 @@ $(HTMLS): %index.html: %text.xml devbook.xsl xsl/*.xsl xsltproc --param offline "$(OFFLINE)" devbook.xsl $< > $@ eclass-reference/text.xml: - @if [[ -z $${EBUILD_PHASE} ]]; then \ + @# Are we called from an ebuild? The test only controls the + @# output of a warning, so no big issue if the heuristic fails + @if ! type -p emake >/dev/null; 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; \