components/python/ldtp/Makefile
changeset 751 32bfb3fa9b60
parent 609 775168282b2f
child 800 2ad056ed89ec
--- a/components/python/ldtp/Makefile	Wed Mar 28 10:06:23 2012 -0700
+++ b/components/python/ldtp/Makefile	Wed Mar 28 10:58:59 2012 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,6 +38,9 @@
 include $(WS_TOP)/make-rules/setup.py.mk
 include $(WS_TOP)/make-rules/ips.mk
 
+COMPONENT_POST_INSTALL_ACTION = \
+	(cd $(PROTO_DIR)/usr/bin ; $(MV) -f ldtp ldtp$(PYTHON_VERSION))
+
 # common targets
 build:		$(BUILD_32)