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
This commit is contained in:
Sergey Poznyakoff
2014-01-27 14:32:46 +02:00
parent f504821589
commit 95a51b93d0

View File

@@ -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.