installing doc is part of installation, really
This commit is contained in:
parent
43bca8b0fd
commit
a1d4b82167
1 changed files with 3 additions and 3 deletions
|
@ -53,13 +53,13 @@ make install-bin PREFIX=$PKG$PREFIX
|
||||||
sed -i 's|python setup.py install|python setup.py install --root=$(DESTDIR)|' Makefile
|
sed -i 's|python setup.py install|python setup.py install --root=$(DESTDIR)|' Makefile
|
||||||
make install-py DESTDIR=$PKG
|
make install-py DESTDIR=$PKG
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a LICENSE docs/ examples/ $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
||||||
cd $PKG
|
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 "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
|
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
|
mkdir -p $PKG/install
|
||||||
cat <<EOF > $PKG/install/slack-desc
|
cat <<EOF > $PKG/install/slack-desc
|
||||||
$PRGNAM: $PRGNAM (Web server)
|
$PRGNAM: $PRGNAM (Web server)
|
||||||
|
|
Loading…
Reference in a new issue