X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c11a0831a3881d809f3eb4320f87d3cc4c08bd2b..07cff93e26472f9a072a0732a2c81cfb87d47c99:/openwrt/package/setserial/Makefile diff --git a/openwrt/package/setserial/Makefile b/openwrt/package/setserial/Makefile index 204ccc23b..5c3565a2f 100644 --- a/openwrt/package/setserial/Makefile +++ b/openwrt/package/setserial/Makefile @@ -1,3 +1,5 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME:=setserial @@ -40,12 +42,12 @@ $(PKG_BUILD_DIR)/.configured: $(DISABLE_LARGEFILE) \ $(DISABLE_NLS) \ ) - touch $(PKG_BUILD_DIR)/.configured + touch $@ $(PKG_BUILD_DIR)/.built: $(MAKE) -C $(PKG_BUILD_DIR) \ all - touch $(PKG_BUILD_DIR)/.built + touch $@ $(IPKG_SETSERIAL): install -d -m0755 $(IDIR_SETSERIAL)/etc/init.d @@ -54,3 +56,9 @@ $(IPKG_SETSERIAL): install -m0755 $(PKG_BUILD_DIR)/setserial $(IDIR_SETSERIAL)/usr/sbin/ $(RSTRIP) $(IDIR_SETSERIAL) $(IPKG_BUILD) $(IDIR_SETSERIAL) $(PACKAGE_DIR) + +mostlyclean: + $(MAKE) -C $(PKG_BUILD_DIR) \ + clean + rm -f $(PKG_BUILD_DIR)/.built +