Added clean-chapter6 and clean-chapter789 targets.

This commit is contained in:
Manuel Canales Esparcia 2005-10-28 20:07:50 +00:00
parent 1fb586eee6
commit 0bd7b91adc

17
jhalfs
View file

@ -779,7 +779,7 @@ chapter789: chapter6 $chapter789
clean-all: clean
rm -rf ./*
clean: clean-chapter5 clean-chapter4
clean: clean-chapter789 clean-chapter6 clean-chapter5 clean-chapter4
clean-chapter4:
-userdel lfs
@ -794,6 +794,21 @@ clean-chapter5:
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