all:
ifdef TEMPDIR
ifdef INSTALLDIR
	@echo Attempting to find dependencies...
	env TEMPDIR=$(TEMPDIR) perl Makehelper.pl
	install -m 755 src/go $(INSTALLDIR)/go
	install -d src/Rcgi $(INSTALLDIR)/Rcgi
	install -m 644 src/Rcgi/SystemPrograms.pm $(INSTALLDIR)/Rcgi/SystemPrograms.pm
	install -m 644 src/Rcgi/Session.pm $(INSTALLDIR)/Rcgi/Session.pm
	@echo
	@echo Please check the top of $(INSTALLDIR)/go
	@echo and $(INSTALLDIR)/Rcgi/SystemPrograms.pm
	@echo
	@echo Thank you for choosing to install Rcgi.  Please read the docs.
else
	@echo Please follow the INSTALL file instructions
endif
else
	@echo Please follow the INSTALL file instructions
endif
