Package: grass / 7.2.0-2

no-fail-html.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Don't fail the build if HTML generation fails.
 Generating the HTML description for r.viewshed failed on GNU/Hurd reporting:
 .
  ERROR: Field <projection> missing
 .
 This single documentation error fails the entire build, to prevent this HTML
 description errors are ignored.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: not-needed

--- a/include/Make/Html.make
+++ b/include/Make/Html.make
@@ -11,7 +11,7 @@ $(MANDIR)/%.$(MANSECT): $(HTMLDIR)/%.htm
 	$(HTML2MAN) $< $@
 
 %.tmp.html: $(HTMLSRC)
-	if [ "$(HTMLSRC)" != "" ] ; then $(call htmldesc,$<,$@) ; fi
+	if [ "$(HTMLSRC)" != "" ] ; then $(call htmldesc,$<,$@) || true; fi
 
 ifdef CROSS_COMPILING