all:
	@echo "Hey, this is perl, I don't need to be compiled :-)"
	@echo "You might want to try typing make install"

install:
	@echo "Installing Cluster scripts into your gopher-data bin directory.."
	@echo "Enter your gopher-data directory: "
	-@read gdir; mkdir $$gdir/bin/; \
	sed -e "s+/home/arcwelder/gopher-data+$$gdir+g" < Searcher >$$gdir/bin/Searcher ; \
	cp BuildClusters.pl $$gdir/bin/; \
	mkdir $$gdir/Cluster; \
	cp -r SemanticClusters $$gdir/Cluster;\
	cp -r DirClusters $$gdir/Cluster;\
	cp Example.Links $$gdir/Cluster/.Links


clean:
	-rm -f *~


tar:
	HERE=`basename $$PWD`; \
        cd .. ; \
	find $$HERE -type f -print |grep -v '.o$$' |grep -v '~$$' |grep -v 'old' | grep -v 'CVS' >$$HERE/MANIFEST ; \
	/usr/gnu/bin/tar  -T $$HERE/MANIFEST -cZvf $$HERE.tar.Z ;

	
	