mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 23:50:03 -06:00
18 lines
455 B
Makefile
18 lines
455 B
Makefile
|
srpm:
|
||
|
# Setup development environment
|
||
|
echo "Installing base development environment"
|
||
|
dnf install -y dnf-plugins-core
|
||
|
echo "Installing FreeIPA development dependencies"
|
||
|
dnf builddep -y --skip-broken --spec freeipa.spec.in --best --allowerasing --setopt=install_weak_deps=False
|
||
|
|
||
|
# Run autoconf
|
||
|
autoreconf -i
|
||
|
./configure --enable-silent-rules
|
||
|
|
||
|
# Generate SRPMS
|
||
|
make srpms
|
||
|
|
||
|
if [[ "${outdir}" != "" ]]; then \
|
||
|
mv rpmbuild/SRPMS/* ${outdir}; \
|
||
|
fi
|