r2135 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Fri Oct 28 13:07:59 PDT 2005


Author: manuel
Date: 2005-10-28 14:07:50 -0600 (Fri, 28 Oct 2005)
New Revision: 2135

Modified:
   jhalfs/trunk/jhalfs
Log:
Added clean-chapter6 and clean-chapter789 targets.

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-10-28 18:59:56 UTC (rev 2134)
+++ jhalfs/trunk/jhalfs	2005-10-28 20:07:50 UTC (rev 2135)
@@ -779,7 +779,7 @@
 clean-all:  clean
 	rm -rf ./*
 
-clean:  clean-chapter5 clean-chapter4
+clean:  clean-chapter789 clean-chapter6 clean-chapter5 clean-chapter4
 
 clean-chapter4:
 	-userdel lfs
@@ -793,7 +793,22 @@
 	rm -rf \$(LFS)/tools/*
 	rm -f $chapter5
 	cd logs && rm -f $chapter5 && cd ..
+  
+clean-chapter6:
+	umount \$(LFS)/sys
+	umount \$(LFS)/proc
+	umount \$(LFS)/dev/shm
+	umount \$(LFS)/dev/pts
+	umount \$(LFS)/dev
+	rm -rf \$(LFS)/{bin,boot,dev,etc,home,lib,media,mnt,opt,proc,root,sbin,srv,sys,tmp,usr,var}
+	rm -f $chapter6
+	cd logs && rm -f $chapter6 && cd ..
 
+clean-chapter789: 
+	rm -f $chapter789
+	cd logs && rm -f $chapter789 && cd ..
+
+
 EOF
 ) >> $MKFILE
 




More information about the alfs-log mailing list