From e06e63d44caeb72061a2e59e6efc40bee034d680 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Wed, 10 Apr 2019 23:38:43 -0400 Subject: add build machinery for electron --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3