Removed remainig clean targets.

This commit is contained in:
Manuel Canales Esparcia 2006-09-11 11:18:01 +00:00
parent 1ba5024e51
commit 03b3eba09e
2 changed files with 11 additions and 50 deletions

View file

@ -488,13 +488,9 @@ LUSER: $cross_tools $basicsystem $bootscripttools $bootable
ROOT: $chowning
clean-all: clean
rm -rf ./{clfs2-commands,logs,Makefile,*.xsl,makefile-functions,packages,patches}
clean:
restart:
@echo "This feature does not exist for the CLFS makefile. (yet)"
@echo "This feature does not exist for the CLFS-2 makefile. (yet)"
restore-luser-env:
@\$(call echo_message, Building)

View file

@ -479,43 +479,8 @@ CHROOT: $chapter6
BOOT: $chapter789
clean-all: clean
rm -rf ./{lfs-commands,logs,Makefile,*.xsl,makefile-functions,packages,patches}
clean: clean-chapter789 clean-chapter6 clean-chapter5 clean-chapter4
restart: restart_code all
clean-chapter4:
-if [ ! -f luser-exist ]; then \\
userdel \$(LUSER); \\
rm -rf /home/\$(LUSER); \\
fi;
rm -rf \$(MOUNT_PT)/tools
rm -f /tools
rm -f envars luser-exist
rm -f 02* logs/02*.log
clean-chapter5:
rm -rf \$(MOUNT_PT)/tools/*
rm -f $chapter5 restore-luser-env sources-dir
cd logs && rm -f $chapter5 && cd ..
clean-chapter6:
-umount \$(MOUNT_PT)/sys
-umount \$(MOUNT_PT)/proc
-umount \$(MOUNT_PT)/dev/shm
-umount \$(MOUNT_PT)/dev/pts
-umount \$(MOUNT_PT)/dev
rm -rf \$(MOUNT_PT)/{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 ..
restore-luser-env:
@\$(call echo_message, Building)
@if [ -f /home/\$(LUSER)/.bashrc.XXX ]; then \\