mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
520d15eb1b
Rebase Makefile.patch file after whitespace change in upstream.
b692768730
13 lines
645 B
Diff
13 lines
645 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -1,7 +1,7 @@
|
|
APP := miniflux
|
|
DOCKER_IMAGE := miniflux/miniflux
|
|
-VERSION := $(shell git describe --tags --abbrev=0 2>/dev/null)
|
|
-COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null)
|
|
+VERSION ?= $(shell git describe --tags --abbrev=0 2>/dev/null)
|
|
+COMMIT :=
|
|
BUILD_DATE := `date +%FT%T%z`
|
|
LD_FLAGS := "-s -w -X 'miniflux.app/v2/internal/version.Version=$(VERSION)' -X 'miniflux.app/v2/internal/version.Commit=$(COMMIT)' -X 'miniflux.app/v2/internal/version.BuildDate=$(BUILD_DATE)'"
|
|
PKG_LIST := $(shell go list ./... | grep -v /vendor/)
|