1 Previously absolute symlinks would be used which made the installed files not
4 https://gitlab.gnome.org/GNOME/yelp-tools/-/issues/13
6 --- yelp-tools-42.1/tools/yelp.m4.orig
7 +++ yelp-tools-42.1/tools/yelp.m4
9 elif test "x$$lc" != "xC"; then \
10 if test "x$(YELP_LC_MEDIA_LINKS)" != "x"; then \
11 echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
12 - $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
15 + while test "$$dname" != "." -a "$$dname" != "/"; do \
17 + dname=$$(dirname "$$dname"); \
19 + $(LN_S) -f $$pars"C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \