Fix installation of HTML images for absolute paths
authorMichael Biebl <biebl@debian.org>
Tue, 17 Apr 2012 11:29:09 +0000 (13:29 +0200)
committerSimon McVittie <smcv@debian.org>
Sat, 21 Jan 2017 15:38:15 +0000 (15:38 +0000)
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

Gbp-Pq: Name 071_fix-installation-of-HTML-images.patch

gtk-doc.make

index e4a12a5b25598cd954c4e9cab7f76883741ad81e..1f3dbc2ebf7335fe6e20cd5e9bce71c7788941d9 100644 (file)
@@ -193,8 +193,8 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_con
          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)