aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2017-10-09 17:11:54 +0300
committerJani Välimaa <wally@mageia.org>2017-10-09 17:11:54 +0300
commitd645815b1d83871303fd5ac36bcb1ddbeaec76bd (patch)
tree60375fcb4369423584029e184e404ce84dd76a5a /Makefile
parentaaa72d1785c981550b4457ce2056712c53bf94bf (diff)
downloadbcd-d645815b1d83871303fd5ac36bcb1ddbeaec76bd.tar
bcd-d645815b1d83871303fd5ac36bcb1ddbeaec76bd.tar.gz
bcd-d645815b1d83871303fd5ac36bcb1ddbeaec76bd.tar.bz2
bcd-d645815b1d83871303fd5ac36bcb1ddbeaec76bd.tar.xz
bcd-d645815b1d83871303fd5ac36bcb1ddbeaec76bd.zip
Compress man pages with xz (mga#21822)HEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files 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