1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

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.
This commit is contained in:
Simon Tatham 2017-02-21 22:17:48 +00:00
parent 48a8853bde
commit 805ef41152

8
Recipe
View File

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