diff options
author | Vincent Untz <vuntz@gnome.org> | 2011-09-14 23:23:44 +0200 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2011-09-15 08:15:48 -0400 |
commit | eb6b0be7abbaff509f12fde5bd5358744c753265 (patch) | |
tree | 398ed905111299c634923a2215a2f3994e4ccca6 | |
parent | 7dced0f5b16ae3c47c9b533f6394451c964fdd81 (diff) | |
download | yelp-tools-eb6b0be7abbaff509f12fde5bd5358744c753265.tar.gz |
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
-rw-r--r-- | 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 |