add clean target for man

Signed-off-by: Seth Jennings <sjenning@redhat.com>
This commit is contained in:
Seth Jennings 2014-03-27 17:47:10 -05:00
parent 1af7536dbb
commit a72abf3f14
1 changed files with 9 additions and 3 deletions

View File

@ -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