diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-21 13:50:11 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-21 13:50:11 +0000 |
commit | ac69e83aab2ba875b59f5f0d789ec6e4cca86e61 (patch) | |
tree | e6f80f8134072f5070de836586c3e58bdda1ba49 /Makefile | |
parent | fb2c20c301e57e4df7093d948a3f26a9b6dd0ffd (diff) |
improve install target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -45,5 +45,7 @@ test: gmid iri_test cd test && ./test.sh install: gmid - install -o root -g wheel -m 0755 gmid ${PREFIX}/bin/ - install -o root -g wheel -m 0644 gmid.1 ${PREFIX}/man/man1 + mkdir -p ${DESTDIR}${BINDIR} + mkdir -p ${DESTDIR}${MANDIR}/man1 + ${INSTALL_PROGRAM} gmid ${DESTDIR}${BINDIR} + ${INSTALL_MAN} gmid.1 ${DESTDIR}${BINDIR} |