X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/8e286d6555f683edeb30cc0ea794595102f00ee7..3e0b9d943a1b10b717fc5751c28d228b532307ec:/Makefile diff --git a/Makefile b/Makefile index 8a8a63a..ac20683 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +PREFIX:=/usr/local + build: pod2man -c mr mr > mr.1 pod2man -c webcheckout webcheckout > webcheckout.1 @@ -6,3 +8,10 @@ test: (echo "[.]"; echo "checkout=") > mrconfig.tmp ./mr --trust-all -c mrconfig.tmp ed | grep -q "horse" rm -f mrconfig.tmp + +install: build + install -Dm0755 mr ${DESTDIR}${PREFIX}/bin/mr + install -Dm0755 webcheckout ${DESTDIR}${PREFIX}/bin/webcheckout + + install -Dm0644 mr.1 ${DESTDIR}${PREFIX}/share/man/man1/mr.1 + install -Dm0644 webcheckout.1 ${DESTDIR}${PREFIX}/share/man/man1/webcheckout.1