From: Nicolas Thill Date: Fri, 18 Dec 2009 11:00:21 +0000 (+0000) Subject: [packages] lang: use $(CP) & $(INSTALL_DIR) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=27c5b8aa9049336b1baa9fabe2a59d00f0b30aff;p=openwrt%2Fsvn-archive%2Farchive.git [packages] lang: use $(CP) & $(INSTALL_DIR) SVN-Revision: 18814 --- diff --git a/lang/ipython/Makefile b/lang/ipython/Makefile index 4023fa0c34..dd1a908b31 100644 --- a/lang/ipython/Makefile +++ b/lang/ipython/Makefile @@ -46,13 +46,13 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1) - cp -r $(PKG_INSTALL_DIR)/* $(1) + $(INSTALL_DIR) $(1) + $(CP) $(PKG_INSTALL_DIR)/* $(1)/ endef define Package/ipython/install - mkdir -p $(1) - cp -r $(PKG_INSTALL_DIR)/* $(1) + $(INSTALL_DIR) $(1) + $(CP) $(PKG_INSTALL_DIR)/* $(1)/ endef $(eval $(call BuildPackage,ipython)) diff --git a/lang/logilab-common/Makefile b/lang/logilab-common/Makefile index 2fdce18c1f..7478f54fd7 100644 --- a/lang/logilab-common/Makefile +++ b/lang/logilab-common/Makefile @@ -37,8 +37,8 @@ define Build/Compile endef define Package/logilab-common/install - mkdir -p $(1) - cp -r $(PKG_INSTALL_DIR)/* $(1)/ + $(INSTALL_DIR) $(1) + $(CP) $(PKG_INSTALL_DIR)/* $(1)/ endef $(eval $(call BuildPackage,logilab-common)) diff --git a/lang/numpy/Makefile b/lang/numpy/Makefile index 550b47bdf2..1b2915ee74 100644 --- a/lang/numpy/Makefile +++ b/lang/numpy/Makefile @@ -35,8 +35,8 @@ define Build/Compile endef define Package/numpy/install - mkdir -p $(1) - cp -r $(PKG_INSTALL_DIR)/* $(1) + $(INSTALL_DIR) $(1) + $(CP) $(PKG_INSTALL_DIR)/* $(1)/ endef define Require/python25-dev