fix(yay): strip release bin

This commit is contained in:
jguer 2021-03-20 18:58:59 +01:00
parent 6d4c2472d8
commit 2da1e154c2
No known key found for this signature in database
GPG key ID: 6D6CC9BEA8556B35

View file

@ -11,8 +11,8 @@ PKGNAME := yay
PREFIX := /usr/local PREFIX := /usr/local
MAJORVERSION := 10 MAJORVERSION := 10
MINORVERSION := 0 MINORVERSION := 2
PATCHVERSION := 0 PATCHVERSION := 1
VERSION ?= ${MAJORVERSION}.${MINORVERSION}.${PATCHVERSION} VERSION ?= ${MAJORVERSION}.${MINORVERSION}.${PATCHVERSION}
LOCALEDIR := po LOCALEDIR := po
@ -115,6 +115,7 @@ $(RELEASE_DIR):
mkdir $(RELEASE_DIR) mkdir $(RELEASE_DIR)
$(PACKAGE): $(BIN) $(RELEASE_DIR) ${MOFILES} $(PACKAGE): $(BIN) $(RELEASE_DIR) ${MOFILES}
strip ${BIN}
cp -t $(RELEASE_DIR) ${BIN} doc/${PKGNAME}.8 completions/* ${MOFILES} cp -t $(RELEASE_DIR) ${BIN} doc/${PKGNAME}.8 completions/* ${MOFILES}
tar -czvf $(PACKAGE) $(RELEASE_DIR) tar -czvf $(PACKAGE) $(RELEASE_DIR)