X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/8c9ae8c3697688fde086a6a7946456791ddbdff0..7ab60736009c2230a5c7a7b1e8b1081de5e93df0:/Makefile diff --git a/Makefile b/Makefile index d1e2e77..3718e32 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ PREFIX:=/usr -build: mr.1 webcheckout.1 +mans=mr.1 webcheckout.1 + +build: $(mans) mr.1: mr pod2man -c mr mr > mr.1 @@ -25,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)