From a72abf3f14bea16d1ed793d73df7a312e02c1142 Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Thu, 27 Mar 2014 17:47:10 -0500 Subject: [PATCH] add clean target for man Signed-off-by: Seth Jennings --- man/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/man/Makefile b/man/Makefile index a6873a0..2da831b 100644 --- a/man/Makefile +++ b/man/Makefile @@ -1,12 +1,16 @@ include ../Makefile.inc -all: +all: kpatch.1.gz kpatch-build.1.gz + +kpatch.1.gz: + gzip -k -9 kpatch.1 + +kpatch-build.1.gz: + gzip -k -9 kpatch-build.1 install: all $(INSTALL) -d $(MANDIR) - gzip -k -9 kpatch.1 $(INSTALL) -m 644 kpatch.1.gz $(MANDIR) - gzip -k -9 kpatch-build.1 $(INSTALL) -m 644 kpatch-build.1.gz $(MANDIR) uninstall: @@ -14,3 +18,5 @@ uninstall: $(RM) $(MANDIR)/kpatch-build.1* clean: + $(RM) kpatch.1.gz + $(RM) kpatch-build.1.gz