summaryrefslogtreecommitdiff
path: root/openwrt/package/srelay/Makefile
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-01 23:53:19 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-01 23:53:19 +0000
commit475e0d886041b4345585e13f0c04bcb9af0c0c5a (patch)
tree1cee9cdbc46a10aace75d7ad9775d35a13e3c3ff /openwrt/package/srelay/Makefile
parent5ef7471191922d05b08e520a05f4a7daeb22754b (diff)
change cp to $(CP)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/srelay/Makefile')
-rw-r--r--openwrt/package/srelay/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/openwrt/package/srelay/Makefile b/openwrt/package/srelay/Makefile
index 485ea26abe..9dc0b9545b 100644
--- a/openwrt/package/srelay/Makefile
+++ b/openwrt/package/srelay/Makefile
@@ -53,15 +53,15 @@ $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
CC=$(TARGET_CC) \
all
- cp $(PKG_BUILD_DIR)/srelay $(PKG_INSTALL_DIR)
+ $(CP) $(PKG_BUILD_DIR)/srelay $(PKG_INSTALL_DIR)
touch $@
$(IPKG_SRELAY):
install -m0755 -d $(IDIR_SRELAY)/usr/bin
install -m0755 -d $(IDIR_SRELAY)/etc/init.d
- cp -fpR $(PKG_INSTALL_DIR)/srelay $(IDIR_SRELAY)/usr/bin/
- cp -fpR files/srelay.init $(IDIR_SRELAY)/etc/init.d/S$(PKG_INIT_LEVEL)srelay
- cp -fpR files/srelay.conf $(IDIR_SRELAY)/etc
+ $(CP) $(PKG_INSTALL_DIR)/srelay $(IDIR_SRELAY)/usr/bin/
+ $(CP) files/srelay.init $(IDIR_SRELAY)/etc/init.d/S$(PKG_INIT_LEVEL)srelay
+ $(CP) files/srelay.conf $(IDIR_SRELAY)/etc
chmod 755 $(IDIR_SRELAY)/etc/init.d/S$(PKG_INIT_LEVEL)srelay
$(RSTRIP) $(IDIR_SRELAY)
$(IPKG_BUILD) $(IDIR_SRELAY) $(PACKAGE_DIR)