mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-03 21:30:11 -05:00
Detect OS for release-sample make target
This commit is contained in:
parent
9e2e1afafa
commit
eabd76e877
2 changed files with 123 additions and 2 deletions
6
Makefile
6
Makefile
|
|
@ -36,7 +36,8 @@ TOUCH ?= touch
|
|||
|
||||
BUILDDIR := build
|
||||
GITHUB_REPO ?= "https://github.com/trapexit/mergerfs"
|
||||
RELEASE_SAMPLE ?= "debian:13.amd64"
|
||||
|
||||
DEFAULT_RELEASE_SAMPLE := debian:13.amd64
|
||||
|
||||
ifndef GIT_REPO
|
||||
ifneq ($(shell $(GIT) --version 2> /dev/null),)
|
||||
|
|
@ -365,7 +366,8 @@ endef
|
|||
release:
|
||||
$(call build_release,"all")
|
||||
release-sample:
|
||||
$(call build_release,$(RELEASE_SAMPLE))
|
||||
$(if $(RELEASE_SAMPLE),,$(eval RELEASE_SAMPLE := $(shell ./buildtools/detect-local-target 2>/dev/null)))
|
||||
$(call build_release,$(if $(RELEASE_SAMPLE),$(RELEASE_SAMPLE),$(DEFAULT_RELEASE_SAMPLE)))
|
||||
release-amd64:
|
||||
$(call build_release,"amd64")
|
||||
release-arm64:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue