Simplify man production rule in Makefile
authorH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 23 Oct 2014 18:49:14 +0000 (20:49 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 23 Oct 2014 18:49:14 +0000 (20:49 +0200)
Makefile

index 1d0a677..c49a7c7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,10 +37,7 @@ install: ${ALL} ${srcdir}/data/*
        cp -u ${srcdir}/data/maxqi.eng $(DESTDIR)/usr/share/games/plugins/xboard
 
 fairymax.6.gz: fairymax.pod
-       pod2man -s 6 fairymax.pod > fmax.man
-       cp fmax.man fairymax.6
-       rm -f fairymax.6.gz
-       gzip fairymax.6
+       pod2man -s 6 fairymax.pod | gzip -9n > fairymax.6.gz
 
 clean:
        rm -f ${ALL}