aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/coovachilli/files/patch-conf_Makefile.am
blob: 1d743f6b775e12144066cfad8f7b738c2947e1cd (plain) (blame)
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
--- conf/Makefile.am.orig	2007-08-20 15:05:54.000000000 +0100
+++ conf/Makefile.am	2008-06-18 01:17:58.000000000 +0100
@@ -6,15 +6,11 @@
 chilli_SCRIPTS = functions up.sh down.sh
 chilli_DATA = defaults 
 
-initdir = $(sysconfdir)/init.d
-init_SCRIPTS = chilli
-
-EXTRA_DIST = $(init_SCRIPTS:=.in) \
+EXTRA_DIST = \
 $(chilli_SCRIPTS:=.in) chilli.conf.in defaults.in
 
 edit = sed \
 	-e 's,@SBINDIR\@,$(sbindir),g' \
-	-e 's,@INITDIR\@,$(initrddir),g' \
 	-e 's,@VARRUN\@,$(localstatedir)/run,g' \
 	-e 's,@ETCCHILLI\@,$(sysconfdir)/chilli,g' \
 	-e 's,@SYSCONFDIR\@,$(sysconfdir),g' \
@@ -35,12 +31,6 @@
 	$(edit) down.sh.in >down.sh.tmp
 	mv down.sh.tmp down.sh
 
-chilli: Makefile chilli.in
-	rm -f chilli chilli.tmp
-	$(edit) chilli.in >chilli.tmp
-	chmod +x chilli.tmp
-	mv chilli.tmp chilli
-
 chilli.conf: Makefile chilli.conf.in
 	rm -f chilli.conf chilli.conf.tmp
 	$(edit) chilli.conf.in >chilli.conf.tmp