X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/db4bceb99236d8ae980e7a4263d0417f4cba3ed2..8bb07ec4ed27e91fef68badb99096256c6b9ac35:/openwrt/package/libxml2/Makefile?ds=sidebyside diff --git a/openwrt/package/libxml2/Makefile b/openwrt/package/libxml2/Makefile index 97845095e..c08d5fe8b 100644 --- a/openwrt/package/libxml2/Makefile +++ b/openwrt/package/libxml2/Makefile @@ -89,19 +89,19 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_LIBXML2): install -m0755 -d $(IDIR_LIBXML2)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libxml2.so.* $(IDIR_LIBXML2)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxml2.so.* $(IDIR_LIBXML2)/usr/lib/ $(RSTRIP) $(IDIR_LIBXML2) $(IPKG_BUILD) $(IDIR_LIBXML2) $(PACKAGE_DIR) $(STAGING_DIR)/usr/lib/libxml2.so: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/bin - cp -fpR $(PKG_INSTALL_DIR)/usr/bin/xml2-config $(STAGING_DIR)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/xml2-config $(STAGING_DIR)/usr/bin/ mkdir -p $(STAGING_DIR)/usr/include - cp -fpR $(PKG_INSTALL_DIR)/usr/include/libxml2 $(STAGING_DIR)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/libxml2 $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libxml2.{a,so*} $(STAGING_DIR)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxml2.{a,so*} $(STAGING_DIR)/usr/lib/ mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libxml-2.0.pc $(STAGING_DIR)/usr/lib/pkgconfig/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libxml-2.0.pc $(STAGING_DIR)/usr/lib/pkgconfig/ $(SED) 's,-I$${includedir}/libxml2,,g' $(STAGING_DIR)/usr/bin/xml2-config $(SED) 's,-I$${includedir},,g' $(STAGING_DIR)/usr/bin/xml2-config $(SED) 's,-I$(STAGING_DIR)/usr/include,,g' $(STAGING_DIR)/usr/bin/xml2-config @@ -118,8 +118,8 @@ uninstall-dev: $(STAGING_DIR)/usr/lib/libxml2.{a,so*} \ $(STAGING_DIR)/usr/lib/pkgconfig/libxml-2.0.pc \ -compile: install-dev -clean: uninstall-dev +compile-targets: install-dev +clean-targets: uninstall-dev mostlyclean: make -C $(PKG_BUILD_DIR) clean