Commit b1370a8e authored by Emmanuel Thomé's avatar Emmanuel Thomé

fix c4b7deee

parent 34772dec
......@@ -49,7 +49,6 @@ exec </dev/null
compile() {
target=all
install_target=all
pkgname="$1" ; shift
if [[ $pkgname =~ ^pari- ]] ; then
# Pari seems to be hopelessly bound to in-source build
......@@ -57,7 +56,7 @@ compile() {
cd $PKG_BUILDTREE/$pkgname/
./Configure --prefix=$PKG_INSTALLTREE/ "$@"
target=gp
install_target="install-lib-dyn install-include install-bin install-man install-misc install-examples install-cfg install-data"
find . -name 'Makefile' | xargs grep -l ^install-doc:: | xargs -n 1 perl -pe '/^install-doc::/ && do { print; print "\n"; print "disabled-"; };' -i
else
cd $PKG_BUILDTREE
mkdir -p $pkgname
......@@ -70,7 +69,7 @@ compile() {
fi
make -j `grep -c ^processor /proc/cpuinfo` $target
make $install_target
make install
cd $TOPDIR
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment