summaryrefslogtreecommitdiff
path: root/Makefile
blob: 3a3083b557d07313d360d420214f7faa7f612240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
EXTENSIONS:=embroider embroider_params embroider_simulate embroider_update

# This gets the branch name or the name of the tag
VERSION:=$(TRAVIS_BRANCH)
OS:=$(shell uname)
ARCH:=$(shell uname -m)

dist: distclean
	bin/build-dist $(EXTENSIONS)
	cp *.inx dist
	cd dist; tar zcf ../inkstitch-$(VERSION)-$(OS)-$(ARCH).tar.gz *

	# This is only here for debugging the build.
	tar zcf build.tar.gz build

distclean:
	rm -rf build dist *.spec *.tar.gz