PREFIX ?= /usr/pkg MANDIR ?= ${PREFIX}/man build: generate clean: rm -f create-cvs generate: @sed "s#%%PREFIX%%#${PREFIX}#" create-cvs.in > create-cvs install: @install -m0755 create-cvs ${DESTDIR}${PREFIX}/bin/create-cvs @install -m0755 create-cvs-repo ${DESTDIR}${PREFIX}/bin/create-cvs-repo @install -m0755 modify-cvsroot-permission ${DESTDIR}${PREFIX}/bin/modify-cvsroot-permission @install -m0644 man/create-cvs.1 ${DESTDIR}${MANDIR}/man1/create-cvs.1 @install -m0644 man/create-cvs-repo.1 ${DESTDIR}${MANDIR}/man1/create-cvs-repo.1 @install -m0644 man/cvs-geidontei.7 ${DESTDIR}${MANDIR}/man7/cvs-geidontei.7 uninstall: rm -f ${DESTDIR}${PREFIX}/bin/create-cvs* rm -f ${DESTDIR}${MANDIR}/man1/create-cvs* rm -f ${DESTDIR}${MANDIR}/man7/cvs-geidontei.7