[libgsf] thumbnailer: don't install man page if we don't install the binary



commit e0aa77cb3608f069eb97c3ce56c00528448a6d48
Author: Morten Welinder <terra gnome org>
Date:   Fri Jul 1 13:49:20 2011 -0400

    thumbnailer: don't install man page if we don't install the binary
    
    From: Damien Lespiau <damien lespiau intel com>
    
    When giving --without-gconf to the configure script, the thumbnailer is
    not compiled. In this case, It's also a good idea to not install its man
    page.

 doc/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 9a7ddd1..a539bd9 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -51,7 +51,12 @@ GTKDOC_CFLAGS = -I$(top_srcdir) $(LIBGSF_CFLAGS)
 GTKDOC_LIBS = $(top_builddir)/gsf/libgsf-1.la $(LIBGSF_LIBS)
 
 manpagedir   = $(mandir)/man1
-manpage_DATA = gsf-office-thumbnailer.1 gsf-vba-dump.1 gsf.1
+manpage_DATA = gsf-vba-dump.1 gsf.1
+
+# gst-office-thumbnailer is not compiled without gconf
+if WITH_GCONF
+manpage_DATA += gsf-office-thumbnailer.1
+endif
 
 if GTK_DOC_INSTALLED
 include $(top_srcdir)/gtk-doc.make



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]