PREFIX?= /usr/local
MANPREFIX?= ${PREFIX}
all: xtset
install: all
install -C xtset /usr/local/bin
install -C xtset ${PREFIX}/bin
mkdir -p /usr/local/man/man1
mkdir -p ${MANPREFIX}/man/man1
gzip -c xtset.1 > /usr/local/man/man1/xtset.1.gz
gzip -c xtset.1 > ${MANPREFIX}/man/man1/xtset.1.gz