Makefile
changeset 46 21d3eb44f56a
parent 37 d05ba048cb2d
child 47 f9160007d2d7
--- a/Makefile	Wed Mar 08 14:54:57 2017 +0000
+++ b/Makefile	Tue Feb 06 13:33:35 2018 +0000
@@ -13,6 +13,14 @@
 ker-off: ker-on.c 
 	gcc -o ker-off -DUNITTEST -g ker-off.c $(LIBS)
 
+install: install-scripts install-ker
+
+install-scripts: sleeprtc.sh stbylong.sh stbyshort.sh stopproc.sh 
+	install sleeprtc.sh stbylong.sh stbyshort.sh stopproc.sh  /etc/
+
+install-ker: ker-on ker-off
+	install ker-on ker-off /usr/sbin/
+	
 
 
 stateManager.o : handlers.h