#!/bin/bash
set -e

# Uncomment for generic libraries
# cp -v configfsf.guess config.guess
# cp -v configfsf.sub config.sub

./configure --prefix=/usr \
            --enable-cxx \
            --disable-static \
            --docdir=/usr/share/doc/gmp-"${VERSION}"

make
make html

make -j1 install
make -j1 install-html