mirror of
https://github.com/dynup/kpatch
synced 2025-01-03 11:12:01 +00:00
531d8f1715
Man pages for kpatch are created via gzip which includes timestamp of original file by default. This means the compressed file will change depending on the time at which the repository was cloned / updated, leading to non-deterministic builds. Pass option to disable this. Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com>
23 lines
415 B
Makefile
23 lines
415 B
Makefile
include ../Makefile.inc
|
|
|
|
all: kpatch.1.gz kpatch-build.1.gz
|
|
|
|
kpatch.1.gz: kpatch.1
|
|
gzip -n -c -9 $< > $@
|
|
|
|
kpatch-build.1.gz: kpatch-build.1
|
|
gzip -n -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
|