From 3ba7b5cf2dc98ebe22291928b38a1e79b79f52e0 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 28 Oct 2020 18:33:22 +0900 Subject: Make Makefile fail when git information is not available --- BUILD.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'BUILD.md') diff --git a/BUILD.md b/BUILD.md index dba8b22f..711228d3 100644 --- a/BUILD.md +++ b/BUILD.md @@ -24,6 +24,13 @@ make build make release ``` +> :warning: Makefile uses git commands to determine the version and the +> revision information for `fzf --version`. So if you're building fzf from an +> environment where its git information is not available, you have to manually +> set `$FZF_VERSION` and `$FZF_REVISION`. +> +> e.g. `FZF_VERSION=0.24.0 FZF_REVISION=tarball make` + Third-party libraries used -------------------------- -- cgit v1.2.3