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