]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - Recipe
Makefile.am: subset the man pages in --without-gtk mode.
[PuTTY.git] / Recipe
diff --git a/Recipe b/Recipe
index 21f7971ce5d791242cd0f7248c90c810e61b745d..98407999765e4dcb6814be4d3b1f50f2e6047697 100644 (file)
--- 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.