summaryrefslogtreecommitdiff
path: root/m4/yelp.m4
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-24 04:13:14 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-24 04:13:14 +0200
commit843ddeeb854bf86ee9c153dc3f32ae4823dc7a29 (patch)
tree02c1de7f22542200e4112c4cce7c8ba47b12cbf0 /m4/yelp.m4
parentaf30a0bf49491fd5e9542c6563685cd4ebfe1eed (diff)
parentbfca57fb52ab7101f701560a2e6feb3a388ef5bf (diff)
Merge tag 'upstream/3.21.90'
Upstream version 3.21.90
Diffstat (limited to 'm4/yelp.m4')
-rw-r--r--m4/yelp.m48
1 files changed, 7 insertions, 1 deletions
diff --git a/m4/yelp.m4 b/m4/yelp.m4
index 5db847f..709c48e 100644
--- a/m4/yelp.m4
+++ b/m4/yelp.m4
@@ -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; \