mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
linuxdoc-tools-native: disable doc builds requriing latex and dvips
This fixes the following errors during do_install on hosts which have latex and/or dvips installed: fmt_latex2e::postASP: LaTeX first run problem. Aborting ... dvips: ! DVI file can't be opened. Our goal is to have native versions of these tools eventually. Until then, disable these parts of the documentation install process. This fixes [BUGID #774]. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
This commit is contained in:
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user