default:
	@echo "Type one of"
	@echo "  make debian  - install debian version"
	@echo "  make gentoo  - install gentoo version"

debian: bin cfg doc
	cp -p init/ssh-lockout.debian /etc/init.d/ssh-lockout

gentoo: bin cfg doc
	cp -p init/ssh-lockout.gentoo /etc/init.d/ssh-lockout

cfg:
	cp -p ssh-lockout.cfg /etc

bin:
	cp -p ssh-lockout.pl /usr/sbin

doc:
	mkdir -p /usr/share/doc/ssh-lockout
	cp -p Changelog TODO INSTALL README /usr/share/doc/ssh-lockout
