summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_dvips_doc.patch
blob: 7ac1a1fa9392329e1f2e443aceab74016b4621f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Disable building documentation which requires the dvips utility.
This patch should be dropped once we include a native version of
dvips.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
diff -urN linuxdoc-tools-0.9.66.orig/doc/Makedoc.sh linuxdoc-tools-0.9.66/doc/Makedoc.sh
--- linuxdoc-tools-0.9.66.orig/doc/Makedoc.sh	2011-02-25 15:26:41.142917782 -0800
+++ linuxdoc-tools-0.9.66/doc/Makedoc.sh	2011-02-25 15:27:25.141917472 -0800
@@ -52,13 +52,13 @@
 #	$TMPDIR/sgml2latex --pass="\usepackage{times}" -o dvi ./guide
 #fi
 
-if [ -n "`which dvips`" ]; then
-	echo "   + dvips" >&2
-	dvips -t letter -o ./guide.ps ./guide.dvi
-	if [ -n "`which gzip`" -a -f ./guide.ps ]; then
-		gzip -fN ./guide.ps
-	fi
-fi
+#if [ -n "`which dvips`" ]; then
+#	echo "   + dvips" >&2
+#	dvips -t letter -o ./guide.ps ./guide.dvi
+#	if [ -n "`which gzip`" -a -f ./guide.ps ]; then
+#		gzip -fN ./guide.ps
+#	fi
+#fi
 
 
 echo "- Building info docs" >&2
OpenPOWER on IntegriCloud