fix procmail compile, thx Michael
[openwrt.git] / package / strace / Makefile
index 9a4137a..d356f91 100644 (file)
@@ -44,7 +44,7 @@ $(PKG_BUILD_DIR)/.configured:
                $(DISABLE_NLS) \
                $(DISABLE_LARGEFILE) \
        );
-       touch $(PKG_BUILD_DIR)/.configured
+       touch $@
 
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
@@ -53,6 +53,10 @@ $(PKG_BUILD_DIR)/.built:
 
 $(IPKG_STRACE): 
        mkdir -p $(IDIR_STRACE)/usr/sbin
-       cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_STRACE)/usr/sbin/
+       $(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
This page took 0.022451 seconds and 4 git commands to generate.