summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorjacomi1999-06-28 15:32:49 +0000
committerjacomi1999-06-28 15:32:49 +0000
commitd0dc5e552f36868cbea5d01eef9c16967f022d17 (patch)
tree87bf5d3a26976e95c188a94f06f6019b1ccd98a7 /src/Makefile
parent3d0f32ef8c38f4ec42b03e880faf86e66bc9cbb8 (diff)
downloadirbox-d0dc5e552f36868cbea5d01eef9c16967f022d17.zip
irbox-d0dc5e552f36868cbea5d01eef9c16967f022d17.tar.gz
irbox-d0dc5e552f36868cbea5d01eef9c16967f022d17.tar.bz2
irbox-d0dc5e552f36868cbea5d01eef9c16967f022d17.tar.xz
*** empty log message ***
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 \