summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-02-19 21:43:39 -0500
committerGitHub <noreply@github.com>2018-02-19 21:43:39 -0500
commit633ec88186106b9a9604f418b5f527d6d8ff888d (patch)
tree186ccabb6f305106974749620ccdd112dba3f964 /Makefile
parent4c5e57893992e64ac3509dd05a6a3fd57238cb30 (diff)
windows build (#79)
Ink/stitch now supports windows!
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3a38e08b..fdfb5088 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,11 @@ dist: distclean locales
bin/build-dist $(EXTENSIONS)
cp *.inx dist
mv locales dist/inkstitch/bin
- cd dist; tar zcf ../inkstitch-$(VERSION)-$(OS)-$(ARCH).tar.gz *
+ if [ "$$BUILD" = "windows" ]; then \
+ cd dist; zip -r ../inkstitch-$(VERSION)-win32.zip *; \
+ else \
+ cd dist; tar zcf ../inkstitch-$(VERSION)-$(OS)-$(ARCH).tar.gz *; \
+ fi
distclean:
rm -rf build dist *.spec *.tar.gz