From 1c90e911b7285719bf6d8708c91e1c2381c86e26 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 25 Aug 2023 13:08:09 +0300 Subject: Install ‘mmv’ as ‘mcp’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3