aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: aaea0d8b01cd3e909bb1d6841a46632434e89e25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.POSIX:

PREFIX  = /usr/local
DPREFIX = ${DESTDIR}${PREFIX}

target = target/release/mmv

all: ${target}
${target}: src/main.rs
	cargo build --release

install:
	mkdir -p ${DPREFIX}/bin ${DPREFIX}/share/man/man1
	cp ${target} ${DPREFIX}/bin
	cp mmv.1 ${DPREFIX}/share/man/man1