commit 89e4b41dd64fd427918bb3af7905808051a85441 parent c0507cea20b8d3a6d23f84938f18ac237a428be0 Author: Cem Keylan <cem@ckyln.com> Date: Mon, 15 Jun 2020 17:08:38 +0300 add makefile Diffstat:
A | Makefile | | | 18 | ++++++++++++++++++ |
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -0,0 +1,18 @@ +PREFIX = /usr/local +SHAREDIR = ${PREFIX}/share +BINDIR = ${PREFIX}/bin +MANPREFIX = ${SHAREDIR}/man +MAN8 = ${MANPREFIX}/man8 + +all: + @echo run \'make install\' to install genfstab + +install: + install -Dm755 genfstab ${DESTDIR}${BINDIR}/genfstab + install -Dm644 genfstab.8 ${DESTDIR}${MAN8}/genfstab.8 + +uninstall: + rm -f ${DESTDIR}${BINDIR}/genfstab + rm -f ${DESTDIR}${MAN8}/genfstab.8 + +.PHONY: all install uninstall