From 553395fedfa7bee4adce5cd5264322f828188bff Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 18 Jun 2013 20:29:09 -0400 Subject: [PATCH] clean rule --- Makefile | 7 ++++++- debian/clean | 1 - debian/manpages | 1 - 3 files changed, 6 insertions(+), 3 deletions(-) delete mode 100644 debian/clean delete mode 100644 debian/manpages 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 -- 2.39.5