components/openstack/common/Makefile
branchs11-update
changeset 4314 96c1b7e2e45c
parent 4072 db0cec748ec0
child 4625 18adb92d4193
--- a/components/openstack/common/Makefile	Wed May 13 04:53:25 2015 -0700
+++ b/components/openstack/common/Makefile	Tue May 19 13:51:17 2015 -0700
@@ -34,8 +34,10 @@
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
-# Do not apply the standard license transforms for this component.
-LICENSE_TRANSFORMS =
+# Used for placement of openstack_common.py
+PYTHON_VERSIONS=	2.6
+PYTHON_VERSION=		2.6
+PKG_MACROS +=		PYVER=$(PYTHON_VERSIONS)
 
 # common targets
 prep:
@@ -45,7 +47,9 @@
 	@/bin/true
 
 install:	FRC
-	@/bin/true
+	($(MKDIR) $(PROTO_DIR)$(PYTHON_LIB); \
+	    $(CP) files/openstack_common.py $(PROTO_DIR)$(PYTHON_LIB); \
+	 $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES))
 
 download::
 	@echo 'No downloads for this component'