diff options
author | Ulrich Müller <ulm@gentoo.org> | 2021-02-06 11:38:28 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-02-06 11:38:28 +0100 |
commit | 97e657e31519d09f0517f89599233cc9bda79ac8 (patch) | |
tree | 064ef2c6c5ca7ec35c9a749b40a39fddb9a6d7bc /Makefile | |
parent | ebuild-writing/common-mistakes: Drop note on Header/Id line (diff) | |
download | devmanual-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-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |