X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/9b9dad1f998703d3b44fd0e51cb12f0dc6c69213..c3b88d8b5e47898e1941074d62ad7e979b42bad9:/package/libdnet/Makefile?ds=sidebyside diff --git a/package/libdnet/Makefile b/package/libdnet/Makefile index e47b34aff..d325a0533 100644 --- a/package/libdnet/Makefile +++ b/package/libdnet/Makefile @@ -66,19 +66,20 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_LIBDNET): install -m0755 -d $(IDIR_LIBDNET)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libdnet.so.* $(IDIR_LIBDNET)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdnet.so.* $(IDIR_LIBDNET)/usr/lib/ install -m0755 -d $(IDIR_LIBDNET)/usr/sbin - cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/dnet $(IDIR_LIBDNET)/usr/sbin/ + $(CP) $(PKG_INSTALL_DIR)/usr/sbin/dnet $(IDIR_LIBDNET)/usr/sbin/ $(RSTRIP) $(IDIR_LIBDNET) $(IPKG_BUILD) $(IDIR_LIBDNET) $(PACKAGE_DIR) $(STAGING_DIR)/usr/lib/libdnet.so: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/bin - cp -fpR $(PKG_INSTALL_DIR)/usr/bin/dnet-config $(STAGING_DIR)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/dnet-config $(STAGING_DIR)/usr/bin/ mkdir -p $(STAGING_DIR)/usr/include - cp -fpR $(PKG_INSTALL_DIR)/usr/include/dnet* $(STAGING_DIR)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/dnet.h $(STAGING_DIR)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/dnet $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib - cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libdnet.* $(STAGING_DIR)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdnet.{a,so*} $(STAGING_DIR)/usr/lib/ touch $@ install-dev: $(STAGING_DIR)/usr/lib/libdnet.so @@ -86,8 +87,9 @@ install-dev: $(STAGING_DIR)/usr/lib/libdnet.so uninstall-dev: rm -rf \ $(STAGING_DIR)/usr/bin/dnet-config \ - $(STAGING_DIR)/usr/include/dnet* \ - $(STAGING_DIR)/usr/lib/libdnet.* \ + $(STAGING_DIR)/usr/include/dnet.h \ + $(STAGING_DIR)/usr/include/dnet \ + $(STAGING_DIR)/usr/lib/libdnet.{a,so*} \ -compile: install-dev -clean: uninstall-dev +compile-targets: install-dev +clean-targets: uninstall-dev