comparison Makefile @ 202:7f25bb89b59c

Move RLGWebD configuration options into a configuration file. On startup, rlgwebd now reads /etc/rlgwebd.conf. If the options for HTTPS are not found, it will only use HTTP.
author John "Elwin" Edwards
date Wed, 04 Jan 2017 20:28:29 -0500
parents 298a531776d6
children 6651f54a0062
comparison
equal deleted inserted replaced
201:f3843245a35e 202:7f25bb89b59c
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 for LIB in `ldd ./sqlickrypt | awk '$$1 ~ "^/" {print $$1}; $$3 ~ "^/" {print $$3}'`; do mkdir -p ${CHROOT}`dirname $$LIB`; cp $$LIB ${CHROOT}$$LIB; done
22 cp rlgwebd rlgwebd-stop ${BINDIR} 22 cp rlgwebd rlgwebd-stop ${BINDIR}
23 mkdir -p ${CHROOT}/var/www 23 mkdir -p ${CHROOT}/var/www
24 cp ${WEBASSETS} ${CHROOT}/var/www 24 cp ${WEBASSETS} ${CHROOT}/var/www
25 cp rlgwebd.service /usr/lib/systemd/system 25 cp rlgwebd.service /usr/lib/systemd/system
26 if test ! -f /etc/rlgwebd.conf; cp rlgwebd.conf /etc; fi
26 27
27 # Libraries are not removed. Something else might be using them. 28 # Libraries are not removed. Something else might be using them.
28 uninstall: 29 uninstall:
29 rm -rf ${CHROOT}/var/www 30 rm -rf ${CHROOT}/var/www
30 rm -f ${CHROOT}/bin/sqlickrypt 31 rm -f ${CHROOT}/bin/sqlickrypt