Sophie

Sophie

distrib > Mageia > 6 > x86_64 > by-pkgid > 922544b06b3bccf772508d128d40126c > files > 1

bcd-3.7-10.1.mga6.src.rpm

From d645815b1d83871303fd5ac36bcb1ddbeaec76bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jani=20V=C3=A4limaa?= <wally@mageia.org>
Date: Mon, 9 Oct 2017 17:11:54 +0300
Subject: [PATCH] Compress man pages with xz (mga#21822)

---
 Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 470f52b..cb33238 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ clean:
 	rm -rf BCD/*~
 	rm -rf lists/*~
 	rm -rf doc/*~
-	rm -rf ${NAME}.1.lzma
+	rm -rf *.1.xz
 	cd doc && rm -rf *.toc *.out *.log *.aux
 
 cleandist: clean
@@ -28,14 +28,14 @@ install: $(ALL) man
 	install BCD/*.pm $(PREFIX)/$(PERL_VENDORLIB)/BCD
 	install doc/${NAME}.pod $(PREFIX)/$(PERL_VENDORLIB)
 	install -d $(PREFIX)/usr/share/man/man1
-	install doc/${NAME}.1.lzma $(PREFIX)/usr/share/man/man1/
-	install doc/conf.xml.1.lzma $(PREFIX)/usr/share/man/man1/
+	install doc/${NAME}.1.xz $(PREFIX)/usr/share/man/man1/
+	install doc/conf.xml.1.xz $(PREFIX)/usr/share/man/man1/
 
 man:
 	pod2man doc/${NAME}.pod > doc/${NAME}.1
 	pod2man doc/conf.xml.pod > doc/conf.xml.1
-	lzma -f doc/${NAME}.1
-	lzma -f doc/conf.xml.1
+	xz -f doc/${NAME}.1
+	xz -f doc/conf.xml.1
 
 tex:
 	cd doc && pod2latex ${NAME}.pod
-- 
2.14.2