From 4c220ef6650afeba334570ad00db0a95c9ba38e6 Mon Sep 17 00:00:00 2001
From: Michael Biebl <biebl@debian.org>
Date: Tue, 17 Apr 2012 13:29:09 +0200
Subject: [PATCH] Fix installation of HTML images for absolute paths

when using out-of-tree builds.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=674163
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656803
---
 gtk-doc.make |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: gtk+-3.6.4/gtk-doc.make
===================================================================
--- gtk+-3.6.4.orig/gtk-doc.make	2013-01-10 16:03:56.697595578 +1300
+++ gtk+-3.6.4/gtk-doc.make	2013-01-10 16:03:56.693595578 +1300
@@ -173,8 +173,8 @@
 	  if test -f $(abs_srcdir)/$$file ; then \
 	    cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
 	  fi; \
-	  if test -f $(abs_builddir)/$$file ; then \
-	    cp $(abs_builddir)/$$file $(abs_builddir)/html; \
+	  if test -f $$file ; then \
+	    cp $$file $(abs_builddir)/html; \
 	  fi; \
 	done;
 	$(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
