From 48c8070ae4702dda7bb7cdd8e6ea870bccf494e7 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Tue, 16 Feb 2010 12:52:48 +0100 Subject: [PATCH] bison: fixed documentation issues --- bison/Pkgfile | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/bison/Pkgfile b/bison/Pkgfile index bbc935f..e43c7cb 100644 --- a/bison/Pkgfile +++ b/bison/Pkgfile @@ -6,18 +6,24 @@ name=bison version=2.4.1 -release=1 +release=2 source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2) build() { - cd $name-$version - ./configure --build=$CHOST \ - --host=$CTARGET \ - --prefix=/usr\ - --mandir=/usr/man \ - --disable-nls - make - make DESTDIR=$PKG install - rm -rf $PKG/usr/share/info - rm $PKG/usr/share/bison/README + cd $name-$version + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr\ + --disable-nls + + sed '/^SUBDIRS =/ s/doc//' -i Makefile.in + + make + make DESTDIR=$PKG install + + install -d $PKG/usr/man/man1 + install -m 0644 doc/*.1 $PKG/usr/man/man1 + + rm -rf $PKG/usr/share/info + rm $PKG/usr/share/bison/README } -- 2.26.2