Multi-process build problems

Fix a problem when a target missed a version-update requirement.
This caused build problems, especially in a parallel build
environment.

https://fedorahosted.org/freeipa/ticket/1215
This commit is contained in:
Martin Kosek 2011-06-17 10:58:01 +02:00 committed by Rob Crittenden
parent d9808498a8
commit f2df2a6954
2 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ version-update: release-update
./makeapi --validate; \
fi
server:
server: version-update
python setup.py build
server-install: server

View File

@ -218,12 +218,12 @@ cd install; ../autogen.sh --prefix=%{_usr} --sysconfdir=%{_sysconfdir} --localst
%endif
%if ! %{ONLY_CLIENT}
make IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} version-update all
make IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} all
cd selinux
# This isn't multi-process make capable yet
make all
%else
make IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} version-update client
make IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} client
%endif
%install