Only install man pages if the respective binary is being installed, fixes a

Wed, 07 Jan 2009 01:13:27 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Wed, 07 Jan 2009 01:13:27 +0000
changeset 25363
8b9199babad7
parent 25362
863d851213dd
child 25364
aaae94b6ffdf

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.

doc/Makefile.am file | annotate | diff | comparison | revisions
--- 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 \

mercurial