From a1d4b821678999f042e2fb1d9ee916072e6208ea Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Mon, 30 Aug 2010 16:03:19 +0700 Subject: [PATCH] installing doc is part of installation, really --- n/mongrel2/mongrel2.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/n/mongrel2/mongrel2.SlackBuild b/n/mongrel2/mongrel2.SlackBuild index 12967cd9..c420dc7c 100755 --- a/n/mongrel2/mongrel2.SlackBuild +++ b/n/mongrel2/mongrel2.SlackBuild @@ -53,13 +53,13 @@ make install-bin PREFIX=$PKG$PREFIX sed -i 's|python setup.py install|python setup.py install --root=$(DESTDIR)|' Makefile make install-py DESTDIR=$PKG +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE docs/ examples/ $PKG/usr/doc/$PRGNAM-$VERSION + cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE docs/ examples/ $PKG/usr/doc/$PRGNAM-$VERSION - mkdir -p $PKG/install cat < $PKG/install/slack-desc $PRGNAM: $PRGNAM (Web server)