kopia lustrzana https://github.com/inkstitch/inkstitch
fix version tagging?
rodzic
2a738619ef
commit
49c7566e51
7
Makefile
7
Makefile
|
@ -2,14 +2,13 @@ EXTENSIONS:=embroider embroider_params embroider_simulate embroider_update
|
|||
|
||||
# This gets the branch name or the name of the tag
|
||||
VERSION:=$(shell git describe --tags --exact-match > /dev/null 2>&1 || git symbolic-ref -q --short HEAD)
|
||||
|
||||
TARBALL:=inkstitch-$(VERSION)-$(shell uname)-$(shell uname -m).tar.gz
|
||||
SITE_PACKAGES:=$(shell python -c "import os; print(os.path.dirname(os.__file__) + '/site-packages')")
|
||||
OS:=$(shell uname)
|
||||
ARCH:=$(shell uname -m)
|
||||
|
||||
dist: distclean
|
||||
bin/build-dist $(EXTENSIONS)
|
||||
cp *.inx dist
|
||||
cd dist; tar zcf ../$(TARBALL) *
|
||||
cd dist; tar zcf ../inkstitch-$(VERSION)-$(OS)-$(ARCH).tar.gz *
|
||||
|
||||
# This is only here for debugging the build.
|
||||
tar zcf build.tar.gz build
|
||||
|
|
Ładowanie…
Reference in New Issue