contrib/rpm: no longer manually pre-build parts for make dist

`make dist` should have now the proper dependencies to build everything
that is needed automatically. No need for manually calling make first.
This commit is contained in:
Thomas Haller 2016-11-20 17:52:07 +01:00
parent 7ed550133b
commit 8804a5df1d

View file

@ -110,18 +110,11 @@ if [[ $IGNORE_DIRTY != 1 ]]; then
fi
if [[ $NO_DIST != 1 ]]; then
./autogen.sh --enable-gtk-doc || die "Error autogen.sh"
./autogen.sh --enable-gtk-doc --with-introspection --with-libnm-glib || die "Error autogen.sh"
if [[ $QUICK == 1 ]]; then
make -C introspection || die "Error make -C introspection"
make -C libnm-core || die "Error make -C libnm-core"
make -C libnm || die "Error make -C libnm"
make -C libnm-util || die "Error make -C libnm-util"
make -C libnm-glib || die "Error make -C libnm-glib"
make dist || die "Error make distcheck"
make dist -j 7 || die "Error make dist"
else
make -j 10 || die "Error make"
make distcheck || die "Error make distcheck"
make distcheck -j 7 || die "Error make distcheck"
fi
fi