# Makefile for icepref installation
PREFIX=/usr/X11R6
VERSION=1.0Beta
install:
	cp -f icepref $(PREFIX)/bin/icepref
	cp -f icepref.1 $(PREFIX)/man/man1/icepref.1

install-doc:
	mkdir -p $(PREFIX)/doc/icepref-$(VERSION)/
	cp -f README $(PREFIX)/doc/icepref-$(VERSION)/README
	cp -f FAQ $(PREFIX)/doc/icepref-$(VERSION)/FAQ
	cp -f LICENSE $(PREFIX)/doc/icepref-$(VERSION)/LICENSE

uninstall:
	rm -f $(PREFIX)/bin/icepref
	rm -f $(PREFIX)/man/man1/icepref.1