prefix=/usr/local
bindir=$(prefix)/bin
sysconfdir=$(prefix)/etc
version=1.0

install: chknewconf chkperm
	mkdir -p $(bindir) $(sysconfdir)
	install -m 755 chknewconf $(bindir)
	install -m 640 chkperm $(sysconfdir)

dist: chknewconf chkperm Makefile
	rm -rf chknewconf-$(version)
	mkdir chknewconf-$(version)
	cp chknewconf chkperm Makefile chknewconf-$(version)
	tar -zcf chknewconf-$(version).tar.gz chknewconf-$(version)

