all:
	/bin/rm -rf dist.tar.Z
#	(cd src; make)
	mkdir dist
	@echo "opening the chest.."
	(cd chest; tar cf - . ) | (cd dist; tar xf -)
	@echo "installing sources.."
	(cd src; tar cf - . ) | (cd dist; tar xf -)
	@echo "cleaning up.."
	(cd dist; rm -rf RCS */RCS)
	(cd dist; rm -f *~ */*~)
	@echo "building tar file/.."
	(cd dist; tar cf - .) | compress > dist.tar.Z
	rm -rf dist
	@echo "done."
