diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-30 14:54:26 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-04-09 22:00:41 +0700 |
| commit | 226a8d4ad7e6fa02715f9925b5104f6d6addf585 (patch) | |
| tree | 1993f9c22dbc2652a0c185195ac4358c46123c2f | |
| parent | 2dee8159f6c3812c2df73bae5d508af00d84da51 (diff) | |
| download | git-main.tar.xz | |
The fake package allow any dependencies to use local version instead of
the official one.
| -rw-r--r-- | Makefile.local | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Makefile.local b/Makefile.local index f93532b75d..f0e53b3abb 100644 --- a/Makefile.local +++ b/Makefile.local @@ -1,4 +1,21 @@ +VERSION=$(shell git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g') + .PHONY: all -all: +all: build install fake + +.PHONY: build +build: $(MAKE) prefix=$$HOME/local/git all doc + +.PHONY: install +install: $(MAKE) prefix=$$HOME/local/git install install-doc install-html + +.PHONY: fake +fake: + makefake --name=git --version=$(VERSION) git + +.PHONY: doc +doc: + $(MAKE) prefix=$$HOME/local/git doc + $(MAKE) prefix=$$HOME/local/git install-doc install-html |
