X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/18b367967a76db6639bc98ed58a4b1e37fb140d2..5169aa261fc22d910dd5d90ba0461ffce21b2db4:/Makefile?ds=inline 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)