From 95a51b93d0d22d3a037cd6f303cca68a2d6c66dd Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 27 Jan 2014 14:32:46 +0200 Subject: [PATCH] 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 --- doc/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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. -- 2.45.2