From 6c72cc8ce61c02978073db629948400ba594cbab Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Mon, 20 Oct 2014 11:00:01 +0200 Subject: [PATCH] Simplify man page production rule No need for any intermediary files, and be sure not to include a timestamp in the compressed manpage, for reproducibility concerns. --- Makefile | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index d0c91a2..9320b0f 100644 --- a/Makefile +++ b/Makefile @@ -27,16 +27,13 @@ install: ${ALL} ${srcdir}/svg/* cp -u ${srcdir}/hachu.eng $(DESTDIR)/usr/share/games/plugins/xboard hachu.6.gz: hachu.pod - pod2man -s 6 hachu.pod > hachu.man - cp hachu.man hachu.6 - rm -f hachu.6.gz - gzip hachu.6 + pod2man -s 6 hachu.pod | gzip -9n > hachu.6.gz clean: rm -f ${ALL} dist-clean: - rm -f ${ALL} *~ chu/*~ *.man md5sums + rm -f ${ALL} *~ chu/*~ md5sums dist: install -d -m0755 HaChu -- 1.7.0.4