diff options
author | Aaron Ball <nullspoon@oper.io> | 2017-12-24 13:56:09 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2017-12-24 13:56:09 -0700 |
commit | c2927f0e4083ac07dff21c4af1e315417128fc1e (patch) | |
tree | 322b30c5a9ada8fc6ae9d29acd02f74e5621b6fa | |
parent | 66763dab98ae75c60661f656c5230cc6365f51a3 (diff) | |
download | luminous-c2927f0e4083ac07dff21c4af1e315417128fc1e.tar.gz luminous-c2927f0e4083ac07dff21c4af1e315417128fc1e.tar.xz |
Updated makefile for init script
Now the init script is deployed on make install.
Also fixed DESTDIR and added BINDIR variable.
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,12 +1,15 @@ out=luminous CCOPTS=-Wall -DESTDIR=/usr/bin + +BINDIR=/usr/bin +INITDIR=/etc/rc.d all: cc $(CCOPTS) $(DBG) src/main.c -o luminous install: - install -D luminous ${DESTDIR}/luminous + install -D luminous ${DESTDIR}/${BINDIR}/luminous + install -D init.sh ${DESTDIR}/${INITDIR}/luminous debug: make DBG=-g |