change cp to $(CP)
[openwrt.git] / openwrt / package / libevent / Makefile
index 7d4d56f..487fe55 100644 (file)
@@ -59,16 +59,16 @@ $(PKG_BUILD_DIR)/.built:
 
 $(IPKG_LIBEVENT):
        install -d -m0755 $(IDIR_LIBEVENT)/usr/lib
-       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libevent-$(PKG_VERSION).so.* $(IDIR_LIBEVENT)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevent-$(PKG_VERSION).so.* $(IDIR_LIBEVENT)/usr/lib/
        $(RSTRIP) $(IDIR_LIBEVENT)
        $(IPKG_BUILD) $(IDIR_LIBEVENT) $(PACKAGE_DIR)
 
 $(STAGING_DIR)/usr/lib/libevent.so: $(PKG_BUILD_DIR)/.built
        mkdir -p $(STAGING_DIR)/usr/include
-       cp -fpR $(PKG_INSTALL_DIR)/usr/include/event.h $(STAGING_DIR)/usr/include/
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/event.h $(STAGING_DIR)/usr/include/
        mkdir -p $(STAGING_DIR)/usr/lib
-       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libevent.{a,so} $(STAGING_DIR)/usr/lib/
-       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libevent-$(PKG_VERSION).so* $(STAGING_DIR)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevent.{a,so} $(STAGING_DIR)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevent-$(PKG_VERSION).so* $(STAGING_DIR)/usr/lib/
        touch $@
 
 install-dev: $(STAGING_DIR)/usr/lib/libevent.so
This page took 0.028013 seconds and 4 git commands to generate.