From a20172ac8e591aeca667403b445c83fad10ce36f Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 18 Dec 2009 11:00:21 +0000 Subject: [PATCH] [packages] lang: use $(CP) & $(INSTALL_DIR) git-svn-id: svn://svn.openwrt.org/openwrt/packages@18814 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- lang/ipython/Makefile | 8 ++++---- lang/logilab-common/Makefile | 4 ++-- lang/numpy/Makefile | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lang/ipython/Makefile b/lang/ipython/Makefile index 4023fa0c3..dd1a908b3 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 2fdce18c1..7478f54fd 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 550b47bdf..1b2915ee7 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