Mercurial > hg > beaglert
changeset 400:adb4fafbeaef prerelease
Fixed 'make stop' kills IDE
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Wed, 15 Jun 2016 01:48:22 +0100 |
parents | ff60102d5f39 |
children | 00c3bbea4faf |
files | Makefile |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Jun 15 01:34:29 2016 +0100 +++ b/Makefile Wed Jun 15 01:48:22 2016 +0100 @@ -8,7 +8,7 @@ .DEFAULT_GOAL := Bela -NO_PROJECT_TARGETS=coreclean distclean stop help iderun idestop iderunup idenostartup +NO_PROJECT_TARGETS=coreclean distclean stop help iderun idestop idestartup idenostartup NO_PROJECT_TARGETS_MESSAGE=PROJECT or EXAMPLE should be set for all targets except: $(NO_PROJECT_TARGETS) # Type `$ make help` to get a description of the functionalities of this Makefile. help: ## Show this help @@ -52,7 +52,8 @@ SCREEN_NAME?=Bela BELA_IDE_STARTUP_SCRIPT?=/root/Bela_node.sh BELA_IDE_HOME?=/root/Bela/IDE -BELA_IDE_SCREEN_NAME?=Bela-IDE +# A bug in this version of screen forces us to use two screen names which beginning substrings do not match (Bela, Bela-IDE would cause problems) +BELA_IDE_SCREEN_NAME?=IDE-Bela BELA_IDE_RUN_COMMAND?=cd $(BELA_IDE_HOME) && screen -S $(BELA_IDE_SCREEN_NAME) -d -m node index.js BELA_IDE_STOP_COMMAND?=screen -X -S $(BELA_IDE_SCREEN_NAME) quit > /dev/null