Magellan Linux

Annotation of /trunk/initscripts/busybox/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1390 - (hide annotations) (download)
Sat Jun 4 23:55:56 2011 UTC (12 years, 11 months ago) by niro
File size: 497 byte(s)
-make use of Makefile.inc and renamed install target to install_busybox
1 niro 1386 # $Id$
2    
3     all:
4    
5 niro 1390 include ../Makefile.inc
6 niro 1386
7 niro 1390 install_busybox: general
8     install -d -m 0755 $(DESTDIR)$(RCDIR)
9     install -d -m 0755 $(DESTDIR)$(RCDIR)/rcshutdown.d
10     install -d -m 0755 $(DESTDIR)$(RCDIR)/rcboot.d
11     install -d -m 0755 $(DESTDIR)$(RCDIR)/rcsysinit.d
12    
13     install -d -m 0755 $(DESTDIR)$(INITDIR)
14     for file in rc/*; do install -m 0755 $${file} $(DESTDIR)$(INITDIR)/; done
15 niro 1387 # symlink rc.d/init.d to /etc/init.d
16 niro 1390 ln -snf rc.d/init.d $(DESTDIR)$(SYSCONFDIR)/init.d
17 niro 1386
18 niro 1390 .PHONY: all install_busybox general