Message ID | 20201121051925.24507-1-jkacur@redhat.com |
---|---|
State | New |
Headers | show |
Series | rt-tests: Don't compress man pages by default | expand |
On Sat, 21 Nov 2020, Kurt Kanzenbach wrote: > On Sat Nov 21 2020, John Kacur wrote: > > This patch changes the default behavior of the Makefile to install > > man pages without compression. This allows distribution build systems to > > use the kind of compression they wish to use without the Makefile > > getting in the way. > > > > It is still possible to compress the man pages using the Makefile, for > > example > > > > make MAN_COMPRESSION=gzip > > > > or > > > > make MAN_OMPRESSION=bzip2 > > > > Signed-off-by: John Kacur <jkacur@redhat.com> > > Yea, that's why I introduced that option in the first place :). Up to > now I've used MAN_COMPRESSION=none for build systems. > > Acked-by: Kurt Kanzenbach <kurt@linutronix.de> > > Thanks, > Kurt > Added your comment and ack to the commit Cheers! John
diff --git a/Makefile b/Makefile index a410cb24cf34..3b38d21afb3a 100644 --- a/Makefile +++ b/Makefile @@ -59,10 +59,9 @@ MANPAGES = src/cyclictest/cyclictest.8 \ ifdef PYLIB MANPAGES += src/cyclictest/get_cyclictest_snapshot.8 \ - MANPAGES += src/hwlatdetect/hwlatdetect.8 + src/hwlatdetect/hwlatdetect.8 endif -MAN_COMPRESSION ?= gzip ifeq ($(MAN_COMPRESSION),gzip) MANPAGES := $(MANPAGES:.8=.8.gz) else ifeq ($(MAN_COMPRESSION),bzip2)
This patch changes the default behavior of the Makefile to install man pages without compression. This allows distribution build systems to use the kind of compression they wish to use without the Makefile getting in the way. It is still possible to compress the man pages using the Makefile, for example make MAN_COMPRESSION=gzip or make MAN_OMPRESSION=bzip2 Signed-off-by: John Kacur <jkacur@redhat.com> --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)