All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rt-tests: Don't compress man pages by default
@ 2020-11-21  5:19 John Kacur
  2020-11-21 10:05 ` Kurt Kanzenbach
  0 siblings, 1 reply; 3+ messages in thread
From: John Kacur @ 2020-11-21  5:19 UTC (permalink / raw)
  To: RT; +Cc: Clark Williams, Daniel Wagner, John Kacur

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(-)

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)
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] rt-tests: Don't compress man pages by default
  2020-11-21  5:19 [PATCH] rt-tests: Don't compress man pages by default John Kacur
@ 2020-11-21 10:05 ` Kurt Kanzenbach
  2020-11-23 18:39   ` John Kacur
  0 siblings, 1 reply; 3+ messages in thread
From: Kurt Kanzenbach @ 2020-11-21 10:05 UTC (permalink / raw)
  To: John Kacur, RT; +Cc: Clark Williams, Daniel Wagner, John Kacur

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] rt-tests: Don't compress man pages by default
  2020-11-21 10:05 ` Kurt Kanzenbach
@ 2020-11-23 18:39   ` John Kacur
  0 siblings, 0 replies; 3+ messages in thread
From: John Kacur @ 2020-11-23 18:39 UTC (permalink / raw)
  To: Kurt Kanzenbach; +Cc: RT, Clark Williams, Daniel Wagner



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-23 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-21  5:19 [PATCH] rt-tests: Don't compress man pages by default John Kacur
2020-11-21 10:05 ` Kurt Kanzenbach
2020-11-23 18:39   ` John Kacur

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.