]> arthur.barton.de Git - netatalk.git/blob - distrib/initscripts/Makefile.am
Changes made by Michel Jouvin - jouvin@lal.in2p3.fr - 23/11/2000
[netatalk.git] / distrib / initscripts / Makefile.am
1 ## Makefile for distrib/initscripts/
2
3 SUFFIXES = .tmpl .
4
5 .tmpl:
6         sed -e s@:BINDIR:@${bindir}@ \
7             -e s@:SBINDIR:@${sbindir}@ \
8             -e s@:ETCDIR:@${CONFIG_DIR}@ \
9             <$^ >$@
10
11 sysvdir = /etc/rc.d/init.d
12
13 CLEANFILES = rc.atalk.redhat atalk
14
15 #
16 # checking for "redhat" style sysv scripts:
17 #
18
19 if USE_REDHAT
20
21 sysv_SCRIPTS = atalk
22
23 atalk: rc.atalk.redhat
24         cp -f rc.atalk.redhat atalk
25         chmod a+x atalk
26
27 endif
28
29 #
30 # checking for "cobalt" style sysv scripts:
31 #
32
33 if USE_COBALT
34
35 sysv_SCRIPTS = atalk
36
37 atalk: rc.atalk.cobalt
38         cp -f rc.atalk.cobalt atalk
39         chmod a+x atalk
40
41 endif
42
43 #
44 # checking for "tru64" style sysv scripts:
45 #
46
47 if USE_TRU64
48
49 sysv_SCRIPTS = atalk
50
51 atalk: rc.atalk.tru64
52         cp -f rc.atalk.tru64 atalk
53         chmod a+x atalk
54
55 endif