From: Yann Dirson Date: Mon, 20 Oct 2014 09:00:01 +0000 (+0200) Subject: Simplify man page production rule X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=6c72cc8ce61c02978073db629948400ba594cbab;hp=85112632cec4d792fe298834b0d8ea9d38256135;p=hachu.git 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. --- 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