summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b5bbd4e5..3253a570 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-dist: locales inx
+dist: version locales inx
bash bin/build-python
bash bin/build-electron
bash bin/build-distribution-archives
@@ -8,7 +8,7 @@ distclean:
rm -rf build dist inx locales *.spec *.tar.gz *.zip electron/node_modules electron/dist
.PHONY: inx
-inx: locales
+inx: version locales
mkdir -p inx
python bin/generate-inx-files; \
@@ -49,6 +49,10 @@ locales:
mkdir -p locales; \
fi
+.PHONY: version
+version:
+ bash bin/generate-version-file
+
.PHONY: style
style:
flake8 . --count --max-complexity=10 --max-line-length=150 --statistics --exclude=pyembroidery,__init__.py,electron,build