Merge pull request #92 from spartacus06/man-clean

add clean target for man
This commit is contained in:
Josh Poimboeuf 2014-03-27 19:57:13 -07:00
commit bf58321229
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: kpatch.1
gzip -k -9 kpatch.1
kpatch-build.1.gz: kpatch-build.1
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