Embed man page in the binary and show it on 'fzf --man'

This commit is contained in:
Junegunn Choi
2024-05-20 19:33:46 +09:00
parent 7b0c9e04d3
commit 076b3d0a9a
7 changed files with 40 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ GOOS ?= $(shell $(GO) env GOOS)
MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))
ROOT_DIR := $(shell dirname $(MAKEFILE))
SOURCES := $(wildcard *.go src/*.go src/*/*.go shell/*sh) $(MAKEFILE)
SOURCES := $(wildcard *.go src/*.go src/*/*.go shell/*sh man/man1/*.1) $(MAKEFILE)
ifdef FZF_VERSION
VERSION := $(FZF_VERSION)