Commit Diff
Diff:
23ae59970f29d0f5d4d43ca1c8393c1611ab6e6c
a5cc1a6d5b13f288641e74b00fa66aa38364de08
Commit:
a5cc1a6d5b13f288641e74b00fa66aa38364de08
Tree:
9f86a2fc26658c94157c5b5e2edbc254114e9f55
Author:
Omar Polo <op@omarpolo.com>
Date:
Fri Jul 1 20:48:45 2022 UTC
Message:
add an install-local target

copies the binary to ~/bin
commit - 23ae59970f29d0f5d4d43ca1c8393c1611ab6e6c
commit + a5cc1a6d5b13f288641e74b00fa66aa38364de08
blob - af1ed45aaa77bde3267f89afb8308f3223fcf542
blob + c0db5ed210981a5b9ea6f349f03d001669e59357
--- Makefile
+++ Makefile
@@ -37,6 +37,10 @@ install:
${INSTALL_PROGRAM} ${PROG} ${DESTDIR}/${BINDIR}
${INSTALL_MAN} mymenu.1 ${DESTDIR}${MANDIR}/man1
+install-local:
+ mkdir -p ${HOME}/bin
+ ${INSTALL_PROGRAM} ${PROG} ${HOME}/bin/
+
uninstall:
rm ${DESTDIR}${BINDIR}/${PROG}
rm ${DESTDIR}${MANDIR}/man1/mymenu.1
Omar Polo