]>
Commit | Line | Data |
---|---|---|
e87157b6 JR |
1 | diff -urNp -x '*.orig' xen-4.13.1.org/tools/qemu-xen/scripts/texi2pod.pl xen-4.13.1/tools/qemu-xen/scripts/texi2pod.pl |
2 | --- xen-4.13.1.org/tools/qemu-xen/scripts/texi2pod.pl 2020-04-14 19:38:05.000000000 +0200 | |
3 | +++ xen-4.13.1/tools/qemu-xen/scripts/texi2pod.pl 2021-03-25 22:42:21.257653071 +0100 | |
4 | @@ -397,6 +397,8 @@ print "=encoding $encoding\n\n" if defin | |
e9dbc551 JR |
5 | $sects{NAME} = "$fn \- $tl\n"; |
6 | $sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES}; | |
7 | ||
8 | +print "=encoding utf8\n"; | |
9 | + | |
10 | for $sect (qw(NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT FILES | |
e87157b6 | 11 | BUGS NOTES FOOTNOTES EXAMPLES SEEALSO AUTHOR COPYRIGHT)) { |
e9dbc551 | 12 | if(exists $sects{$sect}) { |
e87157b6 JR |
13 | diff -urNp -x '*.orig' xen-4.13.1.org/tools/qemu-xen-traditional/Makefile xen-4.13.1/tools/qemu-xen-traditional/Makefile |
14 | --- xen-4.13.1.org/tools/qemu-xen-traditional/Makefile 2018-10-24 17:18:11.000000000 +0200 | |
15 | +++ xen-4.13.1/tools/qemu-xen-traditional/Makefile 2021-03-25 22:42:21.257653071 +0100 | |
16 | @@ -275,7 +275,7 @@ cscope: | |
e9dbc551 | 17 | |
e87157b6 JR |
18 | # documentation |
19 | %.html: %.texi | |
20 | - texi2html -monolithic -number $< | |
21 | + texi2any --html --no-split --number-sections $< | |
22 | ||
23 | %.info: %.texi | |
24 | makeinfo $< -o $@ | |
25 | diff -urNp -x '*.orig' xen-4.13.1.org/tools/qemu-xen-traditional/configure xen-4.13.1/tools/qemu-xen-traditional/configure | |
26 | --- xen-4.13.1.org/tools/qemu-xen-traditional/configure 2021-03-25 22:42:20.504324047 +0100 | |
27 | +++ xen-4.13.1/tools/qemu-xen-traditional/configure 2021-03-25 22:42:21.257653071 +0100 | |
28 | @@ -1087,7 +1087,7 @@ EOF | |
e9dbc551 JR |
29 | fi |
30 | ||
31 | # Check if tools are available to build documentation. | |
32 | -if [ -x "`which texi2html 2>/dev/null`" ] && \ | |
33 | +if [ -x "`which texi2any 2>/dev/null`" ] && \ | |
34 | [ -x "`which pod2man 2>/dev/null`" ]; then | |
35 | build_docs="yes" | |
36 | fi | |
e87157b6 JR |
37 | diff -urNp -x '*.orig' xen-4.13.1.org/tools/qemu-xen-traditional/texi2pod.pl xen-4.13.1/tools/qemu-xen-traditional/texi2pod.pl |
38 | --- xen-4.13.1.org/tools/qemu-xen-traditional/texi2pod.pl 2018-10-24 17:18:11.000000000 +0200 | |
39 | +++ xen-4.13.1/tools/qemu-xen-traditional/texi2pod.pl 2021-03-25 22:42:21.257653071 +0100 | |
40 | @@ -340,6 +340,8 @@ die "No filename or title\n" unless defi | |
41 | $sects{NAME} = "$fn \- $tl\n"; | |
42 | $sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES}; | |
e9dbc551 | 43 | |
e87157b6 JR |
44 | +print "=encoding utf8\n"; |
45 | + | |
46 | for $sect (qw(NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT FILES | |
47 | BUGS NOTES FOOTNOTES SEEALSO AUTHOR COPYRIGHT)) { | |
48 | if(exists $sects{$sect}) { |