[yelp-tools] yelp.m4: Do not use $(DESTDIR) when linking figures



commit eb6b0be7abbaff509f12fde5bd5358744c753265
Author: Vincent Untz <vuntz gnome org>
Date:   Wed Sep 14 23:23:44 2011 +0200

    yelp.m4: Do not use $(DESTDIR) when linking figures
    
    $(DESTDIR) is really used for packaging, and should not be in the link
    target.
    
    This fixes an issue where packages have figures pointing to a
    non-existing file (that is inside $(DESTDIR)).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=659124

 tools/yelp.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/yelp.m4 b/tools/yelp.m4
index 029c713..16d5ec2 100644
--- a/tools/yelp.m4
+++ b/tools/yelp.m4
@@ -138,8 +138,8 @@ install-help:
 	      echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
 	      $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
 	    elif test "x$$lc" != "xC"; then \
-	      echo "$(LN_S) -f $(DESTDIR)$(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
-	      $(LN_S) -f "$(DESTDIR)$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
+	      echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
+	      $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
 	    fi; \
 	  done; \
 	done



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