>From ea9f37ee50bc784e9af4134e2d6d7ef21334e2a7 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 7 Nov 2010 23:40:42 +0100 Subject: [PATCH 2/3] Fix manpage generation * man/Makefile.am (man_MANS): Do not build man pages when associated programs are not present. --- ChangeLog | 3 +++ man/Makefile.am | 13 ++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3ba40fd..8998ebc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-11-07 Ralf Wildenhues + * man/Makefile.am (man_MANS): Do not build man pages when + associated programs are not present. + * tasktool (tt_rec_check_utility): Fix redirection. 2010-11-07 Jose E. Marchesi diff --git a/man/Makefile.am b/man/Makefile.am index 96fa315..9b72229 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -15,14 +15,21 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -man_MANS = csv2rec.1 \ - mdb2rec.1 \ - recdel.1 \ +man_MANS = recdel.1 \ recfix.1 \ recinf.1 \ recins.1 \ recsel.1 \ recset.1 + +if COMPILE_CSV2REC +man_MANS += csv2rec.1 +endif + +if COMPILE_MDB2REC +man_MANS += mdb2rec.1 +endif + EXTRA_DIST = $(man_MANS) MAINTAINERCLEANFILES = $(man_MANS) -- 1.7.3.rc2