Author: alexander
Date: 2007-04-20 19:14:46 -0600 (Fri, 20 Apr 2007)
New Revision: 1844

Modified:
   trunk/Makefile
Log:
Adjusted destructive targets

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile      2007-04-20 14:13:33 UTC (rev 1843)
+++ trunk/Makefile      2007-04-21 01:14:46 UTC (rev 1844)
@@ -424,7 +424,7 @@
 #==============================================================================
 
 clean: unmount
-       @-rm -rf $(WD) $(MPBASE)$(WD)
+       @-rm -rf $(WD) $(MPBASE)$(WD) $(MPBASE)/iso
        @-userdel lfs
        @-groupdel lfs
        @-rm -rf /home/lfs
@@ -437,15 +437,15 @@
        @rm -f $(PKG)/Xorg-*/*-stage2
        @rm -f $(PKG)/wget/prebuild
        @rm -f $(PKG)/binutils/{a.out,dummy.c,.spectest}
-       @-rm -f $(SRC) $(ROOT) $(LFSSRC)
+       @-rm -f $(SRC) $(ROOT)
+       @find packages/* -xtype l -exec rm -f \{} \;
+       @-rm root.ext2
 
 scrub: clean
-       @-rm root.ext2
        @-rm lfslivecd-$(VERSION).iso
 
 clean_sources:
        @-rm $(SRC) ; rm -rf $(LFSSRC) $(MP)$(LFSSRC)
-       @find packages/* -xtype l -exec rm -f \{} \;
 
 mount: $(MKTREE)
 

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to