summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_tex_doc.patch
blob: f47693be001bc89ff703c4a027047bb1ac4184df (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
Disable building documentation which requires the latex utility.
This patch should be dropped once we include a native version of
latex.

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	2009-11-09 11:58:25.000000000 -0800
+++ linuxdoc-tools-0.9.66/doc/Makedoc.sh	2011-02-25 15:23:58.610016114 -0800
@@ -46,11 +46,11 @@
 	$TMPDIR/sgml2txt -b 1 ./guide
 fi
 
-if [ -n "`which latex`" ]; then
-	ln -s $TMPDIR/linuxdoc $TMPDIR/sgml2latex
-	echo "- Building latex docs" >&2
-	$TMPDIR/sgml2latex --pass="\usepackage{times}" -o dvi ./guide
-fi
+#if [ -n "`which latex`" ]; then
+#	ln -s $TMPDIR/linuxdoc $TMPDIR/sgml2latex
+#	echo "- Building latex docs" >&2
+#	$TMPDIR/sgml2latex --pass="\usepackage{times}" -o dvi ./guide
+#fi
 
 if [ -n "`which dvips`" ]; then
 	echo "   + dvips" >&2
OpenPOWER on IntegriCloud