mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 17:17:22 +01:00
commit
1f5ff02398
6
Makefile
6
Makefile
@ -1,13 +1,11 @@
|
||||
.PHONY: all default install uninstall test build release clean
|
||||
.PHONY: all default install uninstall test build release clean package
|
||||
|
||||
PREFIX := /usr
|
||||
DESTDIR :=
|
||||
|
||||
ifndef VERSION
|
||||
MAJORVERSION := 8
|
||||
MINORVERSION ?= $(shell git rev-list --count master)
|
||||
endif
|
||||
VERSION := ${MAJORVERSION}.${MINORVERSION}
|
||||
VERSION ?= ${MAJORVERSION}.${MINORVERSION}
|
||||
|
||||
LDFLAGS := -ldflags '-s -w -X main.version=${VERSION}'
|
||||
ARCH := $(shell uname -m)
|
||||
|
Loading…
Reference in New Issue
Block a user