##  distribution directives for rdist(1)
#
#   This has proved useful to us, but it's not perfect or foolproof and is not
#   a supported part of the SR distribution.  Use at your own risk.


DIR = /usr/sr/cur
HOSTS = ( megaron baskerville organpipe )

#  file patterns that shouldn't be shipped from any directory
NEVER = (
	\\..*~[0-9]*~
	\\.[BC]K\\.
	\\.emacs_
	\\.nfs
	\\.o\$
	\\.orig\$
	\\.org\$
	\\.old\$
	\\.bak\$
	\\.new\$
	\\.dif\$
	\\.out\$
	\\.raw\$
	\\.rej\$
	\\.ps\$
	\\.v.\$
	/[xyz].\$
	/core\$
	/TAGS\$
	/Interfaces\$
	/lex.yy.c\$
	)

#  other specific files to omit
OMIT = (
	paths.h paths.sh paths.tmp
	sr/sr  sr/names.h
	srl/srl
	srm/srm
	srgrind/srgrind
	srtex/srtex
	srv/srv  srv/srvi
	rts/machine.s  rts/srx  rts/csw  rts/csloop
	)



#  ship everything except the verification suite

source:	${DIR} -> ${HOSTS}
	except ${DIR}/vsuite;
	except ${DIR}/${OMIT};
	except_pat ${NEVER};
	install -y;


#  ship the verification suite

vsuite:	${DIR}/vsuite -> ${HOSTS}
	except_pat ${NEVER};
	except_pat \\.[cehos]\$;
	except_pat /Makefile\$;
	install -y;
