changeset 24924:380e7149a777

Only install man pages if the respective binary is being installed, fixes a bug someone on IRC couldn't be bothered to report in trac.
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 07 Jan 2009 01:13:27 +0000
parents b15168f2b7ee
children 1300601041ac
files doc/Makefile.am
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/Makefile.am	Tue Jan 06 22:41:16 2009 +0000
+++ b/doc/Makefile.am	Wed Jan 07 01:13:27 2009 +0000
@@ -1,4 +1,12 @@
-man_MANS = pidgin.1 finch.1
+man_MANS =
+
+if ENABLE_GTK
+man_MANS += pidgin.1
+endif
+
+if ENABLE_GNT
+man_MANS += finch.1
+endif
 
 EXTRA_DIST = \
 	C-HOWTO.dox \