Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
Date: 2008-03-05
Initial Package Version: 0.6.1
Upstream Status: unknown
Origin: self (derivative - see text)
Description: Allows install to complete without gtkdoc-rebase.

 Based on http://bugs.gentoo.org/attachment.cgi?id=140892 - by Ed Catmur, where
he does this to gconf-2.21.1.  Google found a ChangeLog where Slack do this for
gnome-2.20, but not their patch.

--- goffice-0.6.1/docs/reference/Makefile.in.orig	2008-02-23 23:42:36.000000000 +0000
+++ goffice-0.6.1/docs/reference/Makefile.in	2008-02-23 23:44:28.000000000 +0000
@@ -588,8 +588,9 @@
 	  done; \
 	  echo '-- Installing $(srcdir)/html/index.sgml' ; \
 	  $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \
-	  which gtkdoc-rebase >/dev/null && \
+	  if which gtkdoc-rebase >/dev/null; then \
 	    gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
+	  fi; \
 	fi
 
 uninstall-local:
