aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index aaea0d8..766ee39 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
PREFIX = /usr/local
DPREFIX = ${DESTDIR}${PREFIX}
+MANDIR = ${DPREFIX}/share/man
target = target/release/mmv
@@ -11,5 +12,7 @@ ${target}: src/main.rs
install:
mkdir -p ${DPREFIX}/bin ${DPREFIX}/share/man/man1
- cp ${target} ${DPREFIX}/bin
- cp mmv.1 ${DPREFIX}/share/man/man1
+ cp ${target} ${DPREFIX}/bin/mmv
+ cp ${target} ${DPREFIX}/bin/mcp
+ cp mmv.1 ${MANDIR}/man1
+ ln -sr ${MANDIR}/man1/mmv.1 ${MANDIR}/man1/mcp.1