summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2019-04-10 23:38:43 -0400
committerLex Neva <github.com@lexneva.name>2019-04-10 23:38:43 -0400
commite06e63d44caeb72061a2e59e6efc40bee034d680 (patch)
tree3c8c1bb30603a97936c6ac528edbf61464d776bb /Makefile
parent9ccf2f552be246f7912e9dc923f8da8ae47fe544 (diff)
add build machinery for electron
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ed86a36c..3c738f4d 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,7 @@ ARCH:=$(shell uname -m)
dist: distclean locales inx
bin/build-dist $(EXTENSIONS)
+ bin/build-electron
cp inx/*.inx dist
cp -a images/examples dist/inkstitch
cp -a palettes dist/inkstitch
@@ -15,6 +16,7 @@ dist: distclean locales inx
cp -a icons dist/inkstitch/bin
cp -a locales dist/inkstitch/bin
cp -a print dist/inkstitch/bin
+ mv electron/out/* dist/inkstitch/electron
if [ "$$BUILD" = "windows" ]; then \
cd dist; zip -r ../inkstitch-$(VERSION)-win32.zip *; \
else \
@@ -22,7 +24,7 @@ dist: distclean locales inx
fi
distclean:
- rm -rf build dist inx locales *.spec *.tar.gz *.zip
+ rm -rf build dist inx locales *.spec *.tar.gz *.zip electron/node_modules electron/out
.PHONY: inx
inx: locales