Commit 432717cf authored by Thomas Haller's avatar Thomas Haller

contrib/rpm: add explict configure options for building NetworkManager in ""

When we create a source tarball, documentation and other generated files
are disted. Those files depend on the configure options when creating
the tarball. For example, the generated man pages contain the compile time
configurable default values.

For that reason, it is generally better to regenerate the documentation when
building NetworkManager. However, let's set explict configure options to
have a more reproducible way to generate the tarball.

When doing a release, you should not just call `make dist`. Instead, the
proper way of creating an official source tarball is:

  $ ./contrib/fedora/rpm/ --srpm
parent 4179cbb6
......@@ -110,7 +110,20 @@ if [[ $IGNORE_DIRTY != 1 ]]; then
if [[ $NO_DIST != 1 ]]; then
./ --enable-gtk-doc --enable-introspection --with-libnm-glib || die "Error"
./ \
--enable-gtk-doc \
--enable-introspection \
--with-libnm-glib \
--enable-ifcfg-rh \
--enable-ifupdown \
--enable-ibft \
--enable-ifnet \
--with-config-logging-backend-default=syslog \
--with-libaudit=yes-disabled-by-default \
--enable-polkit=yes \
--with-config-dhcp-default=internal \
--with-config-dns-rc-manager-default=symlink \
|| die "Error"
if [[ $QUICK == 1 ]]; then
make dist -j 7 || die "Error make dist"
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