diff options
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..aaea0d8 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 |