--- gnome-doc-utils.make_orig	2006-08-13 17:51:50.000000000 +0200
+++ gnome-doc-utils.make	2006-08-13 18:05:21.000000000 +0200
@@ -632,12 +632,16 @@
 	  for lc in C $(_DOC_REAL_LINGUAS); do \
 	    if test -f "$$lc/$$fig"; then \
 	      figfile="$$lc/$$fig"; \
+		  install_type='copyinstall'; \
 	    elif test -f "$(srcdir)/$$lc/$$fig"; then \
 	      figfile="$(srcdir)/$$lc/$$fig"; \
+		  install_type='copyinstall'; \
 	    elif test -f "C/$$fig"; then \
 	      figfile="C/$$fig"; \
+		  install_type='linkinstall'; \
 	    else \
 	      figfile="$(srcdir)/C/$$fig"; \
+		  install_type='linkinstall'; \
 	    fi; \
 	    figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
 	    figdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$figdir"; \
@@ -646,8 +650,13 @@
 	      $(mkinstalldirs) "$$figdir"; \
 	    fi; \
 	    figbase=`echo $$fig | sed -e 's/^.*\///'`; \
-	    echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
-	    $(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \
+		if test $$install_type = 'copyinstall'; then \
+		  echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
+		  $(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \
+		else \
+		  echo "ln -s ../../$$figfile $$figdir"; \
+		  ln -s "../../$$figfile" "$$figdir"; \
+		fi; \
 	  done; \
 	done
 
