From: Sergey Poznyakoff Date: Mon, 27 Jan 2014 12:32:46 +0000 (+0200) Subject: Don't install rmt.8 if rmt is not built. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=95a51b93d0d22d3a037cd6f303cca68a2d6c66dd;p=chaz%2Ftar Don't install rmt.8 if rmt is not built. * doc/Makefile.am [PU_RMT_COND]: Define RMT_8 (dist_man_MANS): use RMT_8 instead of the hardcoded rmt.8 --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 1d23cf2..196d252 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -33,9 +33,12 @@ tar_TEXINFOS = \ sparse.texi\ value.texi -dist_man_MANS=tar.1 rmt.8 +dist_man_MANS=tar.1 $(RMT_8) +if PU_RMT_COND + RMT_8=rmt.8 +endif -EXTRA_DIST = gendocs_template mastermenu.el texify.sed untabify.el +EXTRA_DIST = gendocs_template mastermenu.el texify.sed untabify.el rmt.8 # The rendering level is anyone of PUBLISH, DISTRIB or PROOF. # Just call 'make RENDITION=PROOF [target]' if you want PROOF rendition.