X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/8c9ae8c3697688fde086a6a7946456791ddbdff0..1992d2881c6f522d3842ba4de42c0fd02c62b703:/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)