24624177 neutron Makefile needs tweak to stay on do-not-publish list
authorJohn Beck <John.Beck@Oracle.COM>
Mon, 12 Sep 2016 15:47:34 -0700
changeset 6886 a5d238289b13
parent 6885 ba96d2ed0291
child 6887 56603fbcebee
24624177 neutron Makefile needs tweak to stay on do-not-publish list
components/openstack/neutron/Makefile
--- a/components/openstack/neutron/Makefile	Mon Sep 12 15:45:59 2016 -0700
+++ b/components/openstack/neutron/Makefile	Mon Sep 12 15:47:34 2016 -0700
@@ -63,11 +63,7 @@
 include $(WS_MAKE_RULES)/setup.py.mk
 
 # Depends on openvswitch, available in S12 but not 11.3, so do not publish.
-ifeq ($(BUILD_TYPE), evaluation)
-BUILD_NO_ARCH=
-INSTALL_NO_ARCH=
-PUBLISH_STAMP=
-endif
+include $(WS_MAKE_RULES)/no-evaluation.mk
 
 include $(WS_MAKE_RULES)/ips.mk
 
@@ -145,10 +141,14 @@
 COMPONENT_POST_INSTALL_ACTION += \
     $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES)
 
-# common targets
+# Skip all building & installing, especially of vpnaas, in evaluation mode.
+ifeq ($(BUILD_TYPE), evaluation)
+build:
+install:
+else
 build:		$(BUILD_NO_ARCH)
-
 install:	$(INSTALL_NO_ARCH) install-vpnaas
+endif
 
 test:		$(NO_TESTS)