change cp to $(CP)
[openwrt.git] / openwrt / package / openser / Makefile
index 29d7286..d3b4826 100644 (file)
@@ -42,17 +42,17 @@ $(PKG_BUILD_DIR)/.built:
 
 $(IPKG_OPENSER): 
        mkdir -p $(IDIR_OPENSER)/usr/sbin
-       cp -fpR $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_OPENSER)/usr/sbin/
-       cp -fpR $(PKG_BUILD_DIR)/utils/gen_ha1/gen_ha1 $(IDIR_OPENSER)/usr/sbin/openser_gen_ha1
-       cp -fpR $(PKG_BUILD_DIR)/scripts/sc $(IDIR_OPENSER)/usr/sbin/openserctl
+       $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_OPENSER)/usr/sbin/
+       $(CP) $(PKG_BUILD_DIR)/utils/gen_ha1/gen_ha1 $(IDIR_OPENSER)/usr/sbin/openser_gen_ha1
+       $(CP) $(PKG_BUILD_DIR)/scripts/sc $(IDIR_OPENSER)/usr/sbin/openserctl
        chmod 744 $(IDIR_OPENSER)/usr/sbin/openserctl
-       cp -fpR $(PKG_BUILD_DIR)/scripts/sc.dbtext $(IDIR_OPENSER)/usr/sbin/dbtextctl
+       $(CP) $(PKG_BUILD_DIR)/scripts/sc.dbtext $(IDIR_OPENSER)/usr/sbin/dbtextctl
        chmod 744 $(IDIR_OPENSER)/usr/sbin/dbtextctl
        mkdir -p $(IDIR_OPENSER)/usr/lib/openser/modules
        (cd $(PKG_BUILD_DIR);\
-               cp -a $(OPENSER_MODULE_FILES) $(IDIR_OPENSER)/usr/lib/openser/modules/; \
+               $(CP) $(OPENSER_MODULE_FILES) $(IDIR_OPENSER)/usr/lib/openser/modules/; \
        )
        mkdir -p $(IDIR_OPENSER)/etc/openser
-       cp -fpR $(PKG_BUILD_DIR)/etc/openser.cfg $(IDIR_OPENSER)/etc/openser/
+       $(CP) $(PKG_BUILD_DIR)/etc/openser.cfg $(IDIR_OPENSER)/etc/openser/
        $(RSTRIP) $(IDIR_OPENSER)
        $(IPKG_BUILD) $(IDIR_OPENSER) $(PACKAGE_DIR)
This page took 0.021009 seconds and 4 git commands to generate.