X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ceeaae231ccb233312cfd40dee9b4ec2a069f597..9d4c161e2f6e855a6175a45405335663e163a8bd:/openwrt/package/nano/Makefile diff --git a/openwrt/package/nano/Makefile b/openwrt/package/nano/Makefile index ca8e95a25..aec6fa8e6 100644 --- a/openwrt/package/nano/Makefile +++ b/openwrt/package/nano/Makefile @@ -1,3 +1,5 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME:=nano @@ -16,7 +18,7 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,NANO,nano,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared +$(PKG_BUILD_DIR)/.configured: (cd $(PKG_BUILD_DIR); \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ @@ -64,7 +66,7 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_NANO): install -d -m0755 $(IDIR_NANO)/usr/bin - cp -fpR $(PKG_INSTALL_DIR)/usr/bin/nano $(IDIR_NANO)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/nano $(IDIR_NANO)/usr/bin/ $(RSTRIP) $(IDIR_NANO) $(IPKG_BUILD) $(IDIR_NANO) $(PACKAGE_DIR)