X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/1a39ef5c9ad9caeb10b41cc046a980b6cd55c454..f1064b084b2fbf042a4e9421cf611df5b532d1b2:/Makefile?ds=inline diff --git a/Makefile b/Makefile index ec59d8c..ac20683 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,17 @@ +PREFIX:=/usr/local + build: pod2man -c mr mr > mr.1 pod2man -c webcheckout webcheckout > webcheckout.1 test: - (echo "[]"; echo "checkout=") > mrconfig.tmp + (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