mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Change extra_*dir options to use prefix instead of /usr/local
This commit is contained in:
parent
d9d3557fcf
commit
e3684526f2
2 changed files with 4 additions and 3 deletions
|
@ -36,6 +36,7 @@
|
|||
- fish source tarballs are now distributed using the XZ compression method (#5460).
|
||||
- Allow finishing builds on OS X <10.13.6 (previously builds would fail at the `codesign` step)
|
||||
- The pkg-config file now uses pkg-config variables
|
||||
- The default values for the extra_completionsdir, extra_functionsdir and extra_confdir options now use the installation prefix instead of hardcoding `/usr/local`
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -29,15 +29,15 @@ set(rel_functionsdir "fish/vendor_functions.d")
|
|||
set(rel_confdir "fish/vendor_conf.d")
|
||||
|
||||
set(extra_completionsdir
|
||||
"/usr/local/share/${rel_completionsdir}"
|
||||
"${datadir}/${rel_completionsdir}"
|
||||
CACHE STRING "Path for extra completions")
|
||||
|
||||
set(extra_functionsdir
|
||||
"/usr/local/share/${rel_functionsdir}"
|
||||
"${datadir}/${rel_functionsdir}"
|
||||
CACHE STRING "Path for extra functions")
|
||||
|
||||
set(extra_confdir
|
||||
"/usr/local/share/${rel_confdir}"
|
||||
"${datadir}/${rel_confdir}"
|
||||
CACHE STRING "Path for extra configuration")
|
||||
|
||||
# These are the man pages that go in system manpath; all manpages go in the fish-specific manpath.
|
||||
|
|
Loading…
Reference in a new issue