]> arthur.barton.de Git - netatalk.git/blob - config/Makefile.am
Makefile patches from Sebastian Rittau (Debian package maintainer)
[netatalk.git] / config / Makefile.am
1 ## Makefile.am for config/
2
3 SUFFIXES = .tmpl .
4
5 .tmpl:
6         sed -e s@:UAMS_PATH:@${UAMS_PATH}@ \
7             -e s@:NLS_PATH:@${CONFIG_DIR}/nls@ \
8             -e s@:ETCDIR:@${CONFIG_DIR}@ \
9             <$^ >$@
10
11 CLEANFILES = afpd.conf netatalk
12
13 configdir = $(CONFIG_DIR)
14
15 config_DATA = AppleVolumes.default AppleVolumes.system afpd.conf atalkd.conf netatalk.conf netatalk.pamd papd.conf
16
17 EXTRA_DIST = $(config_DATA)
18
19 #
20 # pluggable authentication modules support?
21 #
22
23 if USE_PAM
24
25 pamdir    = /etc/pam.d
26
27 pam_DATA = netatalk
28
29 netatalk:
30         cp -f netatalk.pamd netatalk
31
32 endif