summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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