File: no-fail-html.patch

package info (click to toggle)
grass 8.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 185,944 kB
  • sloc: ansic: 440,396; python: 216,658; cpp: 37,408; sh: 10,568; makefile: 6,913; xml: 3,623; sql: 804; lex: 519; javascript: 482; yacc: 450; asm: 387; perl: 157; sed: 25; objc: 7
file content (21 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (3)
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