aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-02-06 11:38:28 +0100
committerUlrich Müller <ulm@gentoo.org>2021-02-06 11:38:28 +0100
commit97e657e31519d09f0517f89599233cc9bda79ac8 (patch)
tree064ef2c6c5ca7ec35c9a749b40a39fddb9a6d7bc /Makefile
parentebuild-writing/common-mistakes: Drop note on Header/Id line (diff)
downloaddevmanual-97e657e31519d09f0517f89599233cc9bda79ac8.tar.gz
devmanual-97e657e31519d09f0517f89599233cc9bda79ac8.tar.bz2
devmanual-97e657e31519d09f0517f89599233cc9bda79ac8.zip
Makefile: Output a warning if eclass documentation is not found
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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