diff --git a/Makefile.in b/Makefile.in index d8c3fc6b7..8462a92f5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -714,6 +714,8 @@ install-force: all install-translations install-doc | show-datadir show-sysconfd $(INSTALL) -m 644 $$i $(DESTDIR)$(mandir)/man1/; \ true; \ done; + @echo "Installing miscellaneous helper resources"; + $v $(INSTALL) -m 644 share/lynx.lss $(DESTDIR)$(datadir)/fish/ .PHONY: install-force # diff --git a/share/functions/help.fish b/share/functions/help.fish index 21f8fec75..5ad92a724 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -152,7 +152,7 @@ function help --description 'Show help for the fish shell' # by using a custom style sheet. See https://github.com/fish-shell/fish-shell/issues/4170 set -l local_file 0 if eval $fish_browser --version 2>/dev/null | string match -qr Lynx - set fish_browser $fish_browser -lss={$__fish_help_dir}/fish.lss + set fish_browser $fish_browser -lss={$__fish_datadir}/lynx.lss end eval $fish_browser $page_url end diff --git a/doc_src/lynx.lss b/share/lynx.lss similarity index 100% rename from doc_src/lynx.lss rename to share/lynx.lss