Mercurial > hg > rlgwebd
comparison Makefile @ 193:80ca029f0906
Add a script to stop RLGWebD.
socat is no longer needed, nor is preventing systemd from sending
signals.
author | John "Elwin" Edwards |
---|---|
date | Sat, 02 Jan 2016 14:33:48 -0500 |
parents | addc4e3456c4 |
children | 5483d413a45b |
comparison
equal
deleted
inserted
replaced
192:addc4e3456c4 | 193:80ca029f0906 |
---|---|
1 CHROOT=/var/dgl | 1 CHROOT=/var/dgl |
2 BINDIR=/usr/local/bin | |
2 | 3 |
3 WEBASSETS = about.html bell.svg index.html options.html options.js rlgterm.js \ | 4 WEBASSETS = about.html bell.svg index.html options.html options.js rlgterm.js \ |
4 style-rlg.css termemu.js termemu-keys.js tty.css | 5 style-rlg.css termemu.js termemu-keys.js tty.css |
5 | 6 |
6 all: sqlickrypt dglwatcher | 7 all: sqlickrypt dglwatcher |
16 | 17 |
17 install: all | 18 install: all |
18 mkdir -p ${CHROOT}/bin | 19 mkdir -p ${CHROOT}/bin |
19 cp sqlickrypt dglwatcher ${CHROOT}/bin | 20 cp sqlickrypt dglwatcher ${CHROOT}/bin |
20 for LIB in `ldd ./sqlickrypt | awk '$$1 ~ "^/" {print $$1}; $$3 ~ "^/" {print $$3}'`; do mkdir -p ${CHROOT}`dirname $$LIB`; cp $$LIB ${CHROOT}$$LIB; done | 21 for LIB in `ldd ./sqlickrypt | awk '$$1 ~ "^/" {print $$1}; $$3 ~ "^/" {print $$3}'`; do mkdir -p ${CHROOT}`dirname $$LIB`; cp $$LIB ${CHROOT}$$LIB; done |
21 cp rlgwebd.js /usr/local/bin/rlgwebd.js | 22 cp rlgwebd.js rlgwebd-stop.js ${BINDIR} |
22 mkdir -p /var/local/rlgwebd | 23 mkdir -p /var/local/rlgwebd |
23 cp ${WEBASSETS} ${CHROOT}/var/www | 24 cp ${WEBASSETS} ${CHROOT}/var/www |
24 cp rlgwebd.service /usr/lib/systemd/system | 25 cp rlgwebd.service /usr/lib/systemd/system |