commit d9409e25cc1bfda5a9acabab1fdf5632d497427e
parent 6afa7989580ff10b2d3a0ab44cf42f77e8a3470d
Author: Jeffery To <jeffery.to@gmail.com>
Date: Mon, 16 Nov 2015 19:52:40 +0800
package-ply: use given path instead of copying directly into staging_dir
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lang/python-ply/Makefile b/lang/python-ply/Makefile
@@ -43,10 +43,10 @@ define Build/Compile
endef
define Build/InstallDev
- $(INSTALL_DIR) $(PYTHON_LIB_DIR)/site-packages
+ $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
$(CP) \
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
- $(PYTHON_LIB_DIR)/site-packages
+ $(1)$(PYTHON_PKG_DIR)
endef
$(eval $(call PyPackage,python-ply))