Added clean-chapter6 and clean-chapter789 targets.
This commit is contained in:
parent
1fb586eee6
commit
0bd7b91adc
1 changed files with 16 additions and 1 deletions
17
jhalfs
17
jhalfs
|
@ -779,7 +779,7 @@ chapter789: chapter6 $chapter789
|
||||||
clean-all: clean
|
clean-all: clean
|
||||||
rm -rf ./*
|
rm -rf ./*
|
||||||
|
|
||||||
clean: clean-chapter5 clean-chapter4
|
clean: clean-chapter789 clean-chapter6 clean-chapter5 clean-chapter4
|
||||||
|
|
||||||
clean-chapter4:
|
clean-chapter4:
|
||||||
-userdel lfs
|
-userdel lfs
|
||||||
|
@ -793,6 +793,21 @@ clean-chapter5:
|
||||||
rm -rf \$(LFS)/tools/*
|
rm -rf \$(LFS)/tools/*
|
||||||
rm -f $chapter5
|
rm -f $chapter5
|
||||||
cd logs && rm -f $chapter5 && cd ..
|
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
|
EOF
|
||||||
) >> $MKFILE
|
) >> $MKFILE
|
||||||
|
|
Reference in a new issue