diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-08-24 04:12:59 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-08-24 04:12:59 +0200 |
commit | bfca57fb52ab7101f701560a2e6feb3a388ef5bf (patch) | |
tree | ea668fc507b13648e52caaa04e013e8f2356d501 /m4/yelp.m4 | |
parent | ae99dce645e9bdde83f3e841b31e6bbba8262989 (diff) |
Imported Upstream version 3.21.90upstream/3.21.90
Diffstat (limited to 'm4/yelp.m4')
-rw-r--r-- | m4/yelp.m4 | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -180,7 +180,13 @@ install-help: $(_HELP_LC_FILES) elif test "x$$lc" != "xC"; then \ if test "x$(YELP_LC_MEDIA_LINKS)" != "x"; then \ 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; \ + dname="$$f"; \ + pars="../"; \ + while test "$$dname" != "." -a "$$dname" != "/"; do \ + pars="../$$pars"; \ + dname=$$(dirname "$$dname"); \ + done; \ + $(LN_S) -f $$pars"C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \ fi; \ fi; \ done; \ |