From 805ef41152db7309987981eb1ba4d914ab6eae6f Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 21 Feb 2017 22:17:48 +0000 Subject: [PATCH] Makefile.am: subset the man pages in --without-gtk mode. If you configure without GTK so that only the non-GUI tools get built and installed, it makes sense to also only build and install the same subset of the man pages. --- Recipe | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Recipe b/Recipe index 21f7971c..98407999 100644 --- a/Recipe +++ b/Recipe @@ -184,8 +184,12 @@ install-strip: # List the man pages for the automake makefile. !begin am -man1_MANS = doc/plink.1 doc/pscp.1 doc/psftp.1 doc/pterm.1 \ - doc/putty.1 doc/puttygen.1 doc/puttytel.1 +if HAVE_GTK +man1_MANS = doc/plink.1 doc/pscp.1 doc/psftp.1 doc/puttygen.1 \ + doc/pterm.1 doc/putty.1 doc/puttytel.1 +else +man1_MANS = doc/plink.1 doc/pscp.1 doc/psftp.1 doc/puttygen.1 +endif !end # In automake, chgrp/chmod pterm after installation, if configured to. -- 2.45.1