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