diff options
Diffstat (limited to 'meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native')
-rw-r--r-- | meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_txt_doc.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_txt_doc.patch b/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_txt_doc.patch new file mode 100644 index 0000000000..17c7670170 --- /dev/null +++ b/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_txt_doc.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | Disable building txt documentation. This is a temporary workaround, | ||
2 | as I have found an Ubuntu 10.10 system which throws errors during | ||
3 | building this that I'd like to ultimately fix. The error manifests | ||
4 | itself from the end of LinuxDocTools.pm with the following messages | ||
5 | during do_install: | ||
6 | |||
7 | | - Building txt docs | ||
8 | | Processing file ./guide | ||
9 | | troff: fatal error: can't find macro file s | ||
10 | | fmt_txt::postASP: Empty output file, error when calling groff. Aborting... | ||
11 | |||
12 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
13 | diff -urN linuxdoc-tools-0.9.66.orig//doc/Makedoc.sh linuxdoc-tools-0.9.66/doc/Makedoc.sh | ||
14 | --- linuxdoc-tools-0.9.66.orig//doc/Makedoc.sh 2009-11-09 11:58:25.000000000 -0800 | ||
15 | +++ linuxdoc-tools-0.9.66/doc/Makedoc.sh 2011-03-04 17:37:24.788923998 -0800 | ||
16 | @@ -40,11 +40,11 @@ | ||
17 | |||
18 | chmod u+x $TMPDIR/linuxdoc | ||
19 | |||
20 | -if [ -n "`which groff`" ]; then | ||
21 | - ln -s $TMPDIR/linuxdoc $TMPDIR/sgml2txt | ||
22 | - echo "- Building txt docs" >&2 | ||
23 | - $TMPDIR/sgml2txt -b 1 ./guide | ||
24 | -fi | ||
25 | +#if [ -n "`which groff`" ]; then | ||
26 | +# ln -s $TMPDIR/linuxdoc $TMPDIR/sgml2txt | ||
27 | +# echo "- Building txt docs" >&2 | ||
28 | +# $TMPDIR/sgml2txt -b 1 ./guide | ||
29 | +#fi | ||
30 | |||
31 | if [ -n "`which latex`" ]; then | ||
32 | ln -s $TMPDIR/linuxdoc $TMPDIR/sgml2latex | ||