#
# Makefile for shrotate
#


PREFIX   = /usr
INSTALL  = install



all:
	@echo "nothing to be done for 'all'. Type 'make install'"



install:
	$(INSTALL) -m 755 -d $(PREFIX)/bin
	$(INSTALL) -m 755 -d $(PREFIX)/man/man1
	$(INSTALL) -m 755 shrotate   $(PREFIX)/bin/
	$(INSTALL) -m 444 shrotate.1 $(PREFIX)/man/man1/
	$(INSTALL) -m 644 shrotate.conf /etc/shrotate.conf.dist
	@echo
	@echo "done. Edit /etc/shrotate.conf.dist and move it to /etc/shrotate.conf."
	@echo "Thanks for choosing GNU software."


clean:
	rm -f *~