summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2016-10-20 18:36:01 +0200
committerDavid Kupka <dkupka@redhat.com>2016-10-24 13:30:12 +0200
commitf25c0cb0c5f309944904fd32e781c27ae7e45a62 (patch)
treece633745b510d5f13cd8ae08be5ab6f9c0a788f0
parent38628e46f05bde5ccc0fbb997f79364860713b48 (diff)
downloadfreeipa-f25c0cb0c5f309944904fd32e781c27ae7e45a62.tar.gz
freeipa-f25c0cb0c5f309944904fd32e781c27ae7e45a62.tar.xz
freeipa-f25c0cb0c5f309944904fd32e781c27ae7e45a62.zip
Build: split out egg-info Makefile target from version-update target
This is temporary workaround necessary until we throw away the hand-made Makefile. ipaplatform is going to be managed by configure, but configure right now depends on version-update target in Makefile. https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1286e6331..2b7fdc4b1 100644
--- a/Makefile
+++ b/Makefile
@@ -79,7 +79,7 @@ all: bootstrap-autogen server tests
.PHONY=FORCE
FORCE:
-client: bootstrap-autogen
+client: bootstrap-autogen egg_info
@for subdir in $(CLIENTDIRS); do \
(cd $$subdir && $(MAKE) all) || exit 1; \
done
@@ -182,7 +182,7 @@ egg_info: ipapython/version.py ipaplatform/__init__.py ipasetup.py
popd ; \
done
-version-update: release-update ipapython/version.py ipaplatform/__init__.py ipasetup.py egg_info
+version-update: release-update ipapython/version.py ipasetup.py
sed -e s/__VERSION__/$(IPA_VERSION)/ -e s/__RELEASE__/$(IPA_RPM_RELEASE)/ \
freeipa.spec.in > freeipa.spec
sed -e s/__VERSION__/$(IPA_VERSION)/ version.m4.in \
@@ -204,7 +204,7 @@ apilint: bootstrap-autogen
acilint: bootstrap-autogen
./makeaci --validate
-server: version-update
+server: version-update bootstrap-autogen egg_info
cd ipaserver && $(PYTHON) setup.py build
cd ipaplatform && $(PYTHON) setup.py build
@@ -217,7 +217,7 @@ server-install: server
(cd ipaplatform && $(PYTHON) setup.py install --root $(DESTDIR)) || exit 1; \
fi
-tests: version-update
+tests: version-update bootstrap-autogen egg_info
cd ipatests; $(PYTHON) setup.py build
cd ipatests/man && $(MAKE) all