X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ee8733578928a15d210903ad320b32604779c496..bab4efad53ecef261da2a6b6fc4cd1e834636da6:/openwrt/package/libpng/Makefile diff --git a/openwrt/package/libpng/Makefile b/openwrt/package/libpng/Makefile index 6fb1c1803..f6541cb9d 100644 --- a/openwrt/package/libpng/Makefile +++ b/openwrt/package/libpng/Makefile @@ -48,13 +48,15 @@ $(PKG_BUILD_DIR)/.configured: --enable-static \ --with-zlib=$(STAGING_DIR)/usr/ \ ) - touch $(PKG_BUILD_DIR)/.configured + touch $@ $(PKG_BUILD_DIR)/.built: + rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ DESTDIR="$(PKG_INSTALL_DIR)" \ all install + touch $@ $(IPKG_LIBPNG): install -d -m0755 $(IDIR_LIBPNG)/usr/lib @@ -83,6 +85,6 @@ uninstall-dev: $(STAGING_DIR)/usr/lib/libpng{,12}.{a,so*} \ $(STAGING_DIR)/usr/lib/pkgconfig/libpng{,12}.pc -compile: install-dev -clean: uninstall-dev +compile-targets: install-dev +clean-targets: uninstall-dev