Append target to make zip-file output

This commit is contained in:
Jason DeRose
2020-03-08 12:29:23 -04:00
parent 722db3ccc7
commit 24767fd07f

View File

@@ -19,7 +19,11 @@ INSTALLNAME = dash-to-panel@jderose9.github.com
# version is pulled from the latest git tag and the current commit SHA1 is
# added to the metadata
ifdef VERSION
FILESUFFIX = _v$(VERSION)
ifdef TARGET
FILESUFFIX = _v$(VERSION)_$(TARGET)
else
FILESUFFIX = _v$(VERSION)
endif
else
LATEST_TAG = $(shell git describe --match "v[0-9]*" --abbrev=0 --tags HEAD)
VERSION = $(LATEST_TAG:v%=%)