summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index f64353b..fe446ec 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -51,6 +51,16 @@ clean:
install: all
test -d $(PREFIX)/usr/bin || mkdirhier $(PREFIX)/usr/bin
test -d $(PREFIX)$(IRBOX_DIR) || mkdirhier $(PREFIX)$(IRBOX_DIR)
+ test -d $(PREFIX)/etc/rc.d/init.d || mkdirhier $(PREFIX)/etc/rc.d/init.d
+ test -d $(PREFIX)/etc/rc.d/rc2.d || mkdirhier $(PREFIX)/etc/rc.d/rc2.d
+ test -d $(PREFIX)/etc/rc.d/rc3.d || mkdirhier $(PREFIX)/etc/rc.d/rc3.d
+ test -d $(PREFIX)/etc/rc.d/rc4.d || mkdirhier $(PREFIX)/etc/rc.d/rc4.d
+ test -d $(PREFIX)/etc/rc.d/rc5.d || mkdirhier $(PREFIX)/etc/rc.d/rc5.d
+ install -m755 irbox.init $(PREFIX)/etc/rc.d/init.d/irbox
+ ln -s /etc/rc.d/init.d/irbox $(PREFIX)/etc/rc.d/rc2.d/S98irbox
+ ln -s /etc/rc.d/init.d/irbox $(PREFIX)/etc/rc.d/rc3.d/S98irbox
+ ln -s /etc/rc.d/init.d/irbox $(PREFIX)/etc/rc.d/rc4.d/S98irbox
+ ln -s /etc/rc.d/init.d/irbox $(PREFIX)/etc/rc.d/rc5.d/S98irbox
install -m755 irbox.conf $(PREFIX)/etc/
install -m755 irbox $(PREFIX)/usr/bin
for f in `find ../data -type f -maxdepth 1`; do \