X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/18b367967a76db6639bc98ed58a4b1e37fb140d2..bdb2e6d37714e82fddeb435a9768b4fbbe31037f:/Makefile diff --git a/Makefile b/Makefile index eda083b..3718e32 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,13 @@ -PREFIX:=/usr/local +PREFIX:=/usr -build: +mans=mr.1 webcheckout.1 + +build: $(mans) + +mr.1: mr pod2man -c mr mr > mr.1 + +webcheckout.1: webcheckout pod2man -c webcheckout webcheckout > webcheckout.1 test: @@ -21,3 +27,6 @@ install: build install -m0644 webcheckout.1 ${DESTDIR}${PREFIX}/share/man/man1/ install -m0644 lib/* ${DESTDIR}${PREFIX}/share/mr/ + +clean: + rm -f $(mans)