mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-14 15:50:39 +02:00
contrib/rpm: add explict configure options for building NetworkManager in "build_clean.sh"
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/build_clean.sh --srpm
This commit is contained in:
parent
4179cbb677
commit
432717cf47
1 changed files with 14 additions and 1 deletions
|
|
@ -110,7 +110,20 @@ if [[ $IGNORE_DIRTY != 1 ]]; then
|
|||
fi
|
||||
|
||||
if [[ $NO_DIST != 1 ]]; then
|
||||
./autogen.sh --enable-gtk-doc --enable-introspection --with-libnm-glib || die "Error autogen.sh"
|
||||
./autogen.sh \
|
||||
--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 autogen.sh"
|
||||
if [[ $QUICK == 1 ]]; then
|
||||
make dist -j 7 || die "Error make dist"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue