mirror of
https://github.com/dynup/kpatch
synced 2024-12-21 12:50:01 +00:00
e7dbaf0b52
The gzip '-k' option isn't supported on older versions of gzip, so use the more portable '-c' option to send the compressed file to stdout.
23 lines
409 B
Makefile
23 lines
409 B
Makefile
include ../Makefile.inc
|
|
|
|
all: kpatch.1.gz kpatch-build.1.gz
|
|
|
|
kpatch.1.gz: kpatch.1
|
|
gzip -c -9 $< > $@
|
|
|
|
kpatch-build.1.gz: kpatch-build.1
|
|
gzip -c -9 $< > $@
|
|
|
|
install: all
|
|
$(INSTALL) -d $(MANDIR)
|
|
$(INSTALL) -m 644 kpatch.1.gz $(MANDIR)
|
|
$(INSTALL) -m 644 kpatch-build.1.gz $(MANDIR)
|
|
|
|
uninstall:
|
|
$(RM) $(MANDIR)/kpatch.1*
|
|
$(RM) $(MANDIR)/kpatch-build.1*
|
|
|
|
clean:
|
|
$(RM) kpatch.1.gz
|
|
$(RM) kpatch-build.1.gz
|