diff options
author | 2025-01-06 22:38:59 +0100 | |
---|---|---|
committer | 2025-01-06 22:38:59 +0100 | |
commit | 56704a0573b9372eaf12f59f38d23c3298b71d1e (patch) | |
tree | 2d05a9f7e415c53c10facda544cfceff2c883ea6 | |
parent | eclass-writing: Specify @BLURB more precisely (diff) | |
download | devmanual-master.tar.gz devmanual-master.tar.bz2 devmanual-master.zip |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; \ |