# deli/Distfile 	Copyright Julian H. Stacey jhs_ERASE_@berklix.com
# Called manually as    su root ; cd / ; rdist /Distfile

# This is kept seperate from /etc/Distfile because in /etc/Distfile:
#	when rdist -f /etc/Distfile gets called (by crontab), 
#	it calls top rule with no label, & all (or at least first) 
#	of any subsequent labelled rules.
# & I do Not want all of the mega copies below done automatically.

SKIP = ( ./amd_mnt ./dev ./host ./proc ./usr/backup ./usr/doc ./usr/obj
	 ./usr/ports ./usr/src ./usr/tmp ./tmp ./usr1 ./var/tmp )

TARG_PATH = /usr4/deli
TARG_HOST = flip
# I usually run this several time (as less bulky) while installing & tuning
top:	# su ; cd / ; rdist -w -R -f /Distfile top
	. -> ( ${TARG_HOST} )
	install -w -R ${TARG_PATH}/not_usr1 ;
	except ${SKIP} ;

# usr1 is (during installation) bulky but rarely changing sources etc,
# so only needs to be done once
usr1:	# su ; cd /usr1 ; rdist -f /Distfile -w -R usr1
	. -> ( ${TARG_HOST} )
	install -w -R ${TARG_PATH}/usr1 ;
