mirror of
https://github.com/colindean/optar.git
synced 2025-03-11 22:17:40 +13:00
Adds OS and architecture to archive name
This commit is contained in:
parent
b3270e4537
commit
2a6de7550f
8
Makefile
8
Makefile
@ -12,7 +12,13 @@ CFLAGS=-O3 -Wall -Wuninitialized \
|
||||
-DNODEBUG $(INCLUDE_PATHS)
|
||||
|
||||
VERSION=$(shell git describe)
|
||||
ARCHIVE_PATH=optar-$(VERSION).tar.gz
|
||||
ifdef TRAVIS_OS_NAME
|
||||
OS=$(TRAVIS_OS_NAME)
|
||||
else
|
||||
OS=$(shell uname -s)
|
||||
endif
|
||||
ARCH=$(shell uname -m)
|
||||
ARCHIVE_PATH=optar-$(VERSION)-$(OS)-$(ARCH).tar.gz
|
||||
BINARIES=optar unoptar
|
||||
EXECUTABLES=$(BINARIES) pgm2ps
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user