File: 04_doc_makefile.patch

package info (click to toggle)
sympy 1.14.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 36,784 kB
  • sloc: python: 460,598; xml: 359; makefile: 162; sh: 59; lisp: 4
file content (24 lines) | stat: -rw-r--r-- 721 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
No longer changing warnings into errors for the target html
Index: sympy/doc/Makefile
===================================================================
--- sympy.orig/doc/Makefile
+++ sympy/doc/Makefile
@@ -1,6 +1,6 @@
 # Makefile for Sphinx documentation
 #
-PYTHON       = python
+PYTHON       = python3
 RST2HTML     = rst2html
 
 # You can set these variables from the command line.
@@ -71,7 +71,9 @@ _html: $(BUILDDIR)/logo/sympy-notailtext
 printwarnings:
 	@printf "\033[0;31mThe docs build failed with the following errors:\033[0m\n"
 	@cat $(WARNINGSFILE)
-	exit 1
+	# ignore warnings, for a debian package build
+	# exit 1
+
 
 $(BUILDDIR)/html/pics/*.png: $(SOURCEDIR)/pics/*.png
 	mkdir -p $(BUILDDIR)/html