diff options
author | Petr Spacek <pspacek@redhat.com> | 2016-10-20 18:36:01 +0200 |
---|---|---|
committer | David Kupka <dkupka@redhat.com> | 2016-10-24 13:30:12 +0200 |
commit | f25c0cb0c5f309944904fd32e781c27ae7e45a62 (patch) | |
tree | ce633745b510d5f13cd8ae08be5ab6f9c0a788f0 | |
parent | 38628e46f05bde5ccc0fbb997f79364860713b48 (diff) | |
download | freeipa-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-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |