summaryrefslogtreecommitdiffstats
path: root/init.d/Makefile
blob: 053d9b021667b85432f66bc2f1572c9a2c323e5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
SCRIPTS = alpinecfg.sh \
	bootmisc.sh \
	checkfs \
	checkroot.sh \
	coldplug \
	cron \
	dnsd \
	hostname \
	httpd \
	hwclock \
	hwdrivers \
	inetd \
	keymap \
	localinit \
	localmount \
	mdev \
	modutils \
	networking \
	procps \
	rc.local \
	rcK \
	rcL \
	rcS \
	rdate\
	runtimes \
	swap\
	syslog \
	tuntap \
	vlan \
	watchdog

all:

install: $(SCRIPTS)
	install -m 0755 -d $(DESTDIR)/etc
	install -m 0755 -d $(DESTDIR)/etc/init.d
	
	for i in $(SCRIPTS) ; do \
		install -m 755 -D $$i $(DESTDIR)/etc/init.d/$$i ;\
	done
	
clean:
	rm -f *~

.PHONY: all clean