diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-25 13:08:09 +0300 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-25 16:57:45 +0300 |
commit | 1c90e911b7285719bf6d8708c91e1c2381c86e26 (patch) | |
tree | e02940b13af507f4b8df74f582706bf847e38f54 | |
parent | 4f7cf37cfe814e558197ece8efdf01079ac243d1 (diff) |
Install ‘mmv’ as ‘mcp’
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |