File: Makefile-remove-manpage-compression.patch

package info (click to toggle)
intel-lpmd 0.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 524 kB
  • sloc: ansic: 6,236; xml: 286; makefile: 102; sh: 78
file content (19 lines) | stat: -rw-r--r-- 692 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: Colin Ian King <colin.i.king@gmail.com>
Date: Mon, 31 Mar 2025 14:12:31 +0100
Subject: [PATCH] Disable gzip of intel_lpmd.8

We don't need to compress intel_lpmd.8, the -k causes a duplicated install
of compressed and uncompress man page. Just remove the gzip.

Index: intel-lpmd/Makefile.am
===================================================================
--- intel-lpmd.orig/Makefile.am
+++ intel-lpmd/Makefile.am
@@ -72,7 +72,6 @@ lpmd-resource.c: $(top_srcdir)/lpmd-reso
 	$(AM_V_GEN) glib-compile-resources --generate-source lpmd-resource.gresource.xml
 
 install-data-hook:
-	gzip -f -k "$(DESTDIR)$(mandir)/man8/intel_lpmd.8";
 	mandb || true
 
 CLEANFILES = $(BUILT_SOURCES)