From: Jose V Beneyto Date: Tue, 16 Feb 2010 11:52:48 +0000 (+0100) Subject: bison: fixed documentation issues X-Git-Url: http://gitweb/?a=commitdiff_plain;h=48c8070ae4702dda7bb7cdd8e6ea870bccf494e7;p=crossrootfs.git bison: fixed documentation issues --- 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 }