[packages] lang: use $(CP) & $(INSTALL_DIR)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18814 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user