diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-10-01 22:02:55 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-10-01 22:15:24 +0800 |
commit | ab5b22982f1291c9482415743cc8b8cd547d49a5 (patch) | |
tree | 1b425ec3e3e8a48ff35b58cf7b68303fc77ce6b3 /Makefile.in | |
parent | 5157ac30faf8fde5e9ea84977fdf430e01b71f96 (diff) |
fish.pc: add pkgconfig file for fish
Assists other packages in finding the path to install completions: call
`pkg-config --variable=completionsdir fish` or so (like
bash-completion).
As discussed in #1485.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 00b5a6c1..c4decc58 100644 --- a/Makefile.in +++ b/Makefile.in @@ -212,7 +212,7 @@ endif # Make everything needed for installing fish # -all: $(PROGRAMS) $(user_doc) $(share_man) $(TRANSLATIONS) +all: $(PROGRAMS) $(user_doc) $(share_man) $(TRANSLATIONS) fish.pc @echo fish has now been built. @echo Use \'$(MAKE) install\' to install fish. .PHONY: all @@ -450,6 +450,7 @@ doc.h: $(HDR_FILES) -e "s,@docdir\@,$(docdir),g" \ -e "s|@configure_input\@|$@, generated from $@.in by the Makefile. DO NOT MANUALLY EDIT THIS FILE!|g" \ -e "s,@prefix\@,$(prefix),g" \ + -e "s,@fish_build_version\@,$(FISH_BUILD_VERSION),g" \ # @@ -631,6 +632,8 @@ install-force: all install-translations $(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/fish/tools/web_config/sample_prompts $(INSTALL) -m 644 etc/config.fish $(DESTDIR)$(sysconfdir)/fish/ $(INSTALL) -m 644 share/config.fish $(DESTDIR)$(datadir)/fish/ + $(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/pkgconfig + $(INSTALL) -m 644 fish.pc $(DESTDIR)$(datadir)/pkgconfig for i in $(COMPLETIONS_DIR_FILES:%='%'); do \ $(INSTALL) -m 644 $$i $(DESTDIR)$(datadir)/fish/completions/; \ true; \ |