qemu: dont recommend texinfo but install the ordinary man pages

This commit is contained in:
Thomas Penteker 2011-05-17 10:08:51 +02:00
parent 5d3abb6e6f
commit 7ef7e9c7bf
3 changed files with 12 additions and 13 deletions

View File

@ -41,6 +41,12 @@ drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/qemu-system-sparc64
-rwxr-xr-x root/root usr/bin/qemu-system-x86_64
-rwxr-xr-x root/root usr/bin/qemu-x86_64
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/qemu-img.1.gz
-rw-r--r-- root/root usr/man/man1/qemu.1.gz
drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/qemu-nbd.8.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/qemu/
-rw-r--r-- root/root usr/share/qemu/bamboo.dtb

View File

@ -3,7 +3,7 @@
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: Lucas Hazel, lucas at die dot net dot au
# Depends on: libsdl
# Nice to have: kqemu texi2html
# Nice to have: kqemu
name=qemu
version=0.14.1
@ -16,15 +16,12 @@ build() {
--cc="${CC:=gcc}" \
--host-cc="${CC:=gcc}" \
--sysconfdir=/etc \
--mandir=/usr/man
--disable-docs
make
make DESTDIR=$PKG install
# Documentaion will only be installed if texi2html is installed.
if [ -d "$PKG/usr/share/man" ]; then
mv $PKG/usr/share/man $PKG/usr/man
fi
rm -rf $PKG/usr/share/doc
make qemu.1 qemu-img.1 qemu-nbd.8
install -D -m 644 qemu.1 $PKG/usr/man/man1/qemu.1
install -D -m 644 qemu-img.1 $PKG/usr/man/man1/qemu-img.1
install -D -m 644 qemu-nbd.8 $PKG/usr/man/man8/qemu-nbd.8
}

View File

@ -1,4 +0,0 @@
If you want the man pages, you will need to install texinfo before
building qemu.