Commit 8804a5df authored by Thomas Haller's avatar Thomas Haller

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.
parent 7ed55013
......@@ -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
......
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