implement mostlyclean target in strace package
authorFelix Fietkau <nbd@openwrt.org>
Sun, 5 Jun 2005 13:32:28 +0000 (13:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 5 Jun 2005 13:32:28 +0000 (13:32 +0000)
SVN-Revision: 1146

openwrt/package/strace/Makefile

index 89c36f78b603766f928adc2aae8048d16e681932..000334d955e278cd335e8e4c2941d8bfa3cf5895 100644 (file)
@@ -56,3 +56,7 @@ $(IPKG_STRACE):
        cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_STRACE)/usr/sbin/
        $(STRIP) $(IDIR_STRACE)/usr/sbin/*
        $(IPKG_BUILD) $(IDIR_STRACE) $(PACKAGE_DIR)
+
+mostlyclean:
+       $(MAKE) -C $(PKG_BUILD_DIR) clean
+       rm -f $(PKG_BUILD_DIR)/.built