X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9c145d892b8497e66edec9581b84af1ddf52daae..056e2e7391e0054a40e9d030e54da7df1e802b6d:/openwrt/package/libdnet/Makefile diff --git a/openwrt/package/libdnet/Makefile b/openwrt/package/libdnet/Makefile index e47b34aff..bb48d4430 100644 --- a/openwrt/package/libdnet/Makefile +++ b/openwrt/package/libdnet/Makefile @@ -76,9 +76,10 @@ $(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/ mkdir -p $(STAGING_DIR)/usr/include - cp -fpR $(PKG_INSTALL_DIR)/usr/include/dnet* $(STAGING_DIR)/usr/include/ + cp -fpR $(PKG_INSTALL_DIR)/usr/include/dnet.h $(STAGING_DIR)/usr/include/ + cp -fpR $(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 -fpR $(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