#PACKAGES=packages
FILES=README TODO mirror.pl ftp.pl chat2.pl socket.ph lsparse.pl dateconv.pl mirror.man mirror.defaults makefile mirror.nightly.sh mirror $(PACKAGES)

all:
	echo try make mirror.tar

mirror.tar: $(FILES)
	rev=`./mirror -v | perl -ane 'print "$$F[2]\n";'`; echo $rev; \
		tar cvf mirror-$$rev.tar $(FILES)

mirror.shar: $(FILES)
	rev=`./mirror -v | perl -ane 'print "$$F[2]\n";'`; echo $rev; \
		shar $(FILES) > mirror-$$rev.shar

#  install, clean ...
