Makefile (426B)
1 PREFIX = /usr/local 2 SHAREDIR = ${PREFIX}/share 3 BINDIR = ${PREFIX}/bin 4 MANPREFIX = ${SHAREDIR}/man 5 MAN8 = ${MANPREFIX}/man8 6 7 all: 8 @echo run \'make install\' to install genfstab 9 10 install: 11 install -Dm755 genfstab ${DESTDIR}${BINDIR}/genfstab 12 install -Dm644 genfstab.8 ${DESTDIR}${MAN8}/genfstab.8 13 14 uninstall: 15 rm -f ${DESTDIR}${BINDIR}/genfstab 16 rm -f ${DESTDIR}${MAN8}/genfstab.8 17 18 .PHONY: all install uninstall