From: Joey Hess Date: Wed, 19 Jun 2013 00:29:09 +0000 (-0400) Subject: clean rule X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/553395fedfa7bee4adce5cd5264322f828188bff?hp=8c9ae8c3697688fde086a6a7946456791ddbdff0 clean rule --- 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) diff --git a/debian/clean b/debian/clean deleted file mode 100644 index f7e585b..0000000 --- a/debian/clean +++ /dev/null @@ -1 +0,0 @@ -*.1 diff --git a/debian/manpages b/debian/manpages deleted file mode 100644 index f7e585b..0000000 --- a/debian/manpages +++ /dev/null @@ -1 +0,0 @@ -*.1