Lanceur d'application pour GNU/Linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 362B

123456789101112131415161718192021
  1. DESTDIR=./
  2. INSTALL_LOCATION=$(DESTDIR)/opt/pitaya
  3. ELECTRON_ARCH=x64
  4. ifeq ($(DEB_TARGET_ARCH), i386)
  5. ELECTRON_ARCH=ia32
  6. endif
  7. all: build
  8. clean:
  9. rm -rf node_modules
  10. rm -rf dist
  11. build:
  12. npm install --ignore-scripts
  13. ARCH=$(ELECTRON_ARCH) npm run build
  14. install:
  15. mkdir -p $(INSTALL_LOCATION)
  16. cp -r build/pitaya-linux-$(ELECTRON_ARCH)/* $(INSTALL_LOCATION)/