Add option to specify directory to search for credentials cache files
[nfs-utils.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 SUBDIRS = tools support utils linux-nfs
4
5 MAINTAINERCLEANFILES = Makefile.in
6
7 EXTRA_DIST = \
8         autogen.sh \
9         \
10         debian/changelog \
11         debian/control \
12         debian/copyright \
13         debian/etc.exports \
14         debian/idmapd.conf \
15         debian/nfs-common.conffiles \
16         debian/nfs-common.default \
17         debian/nfs-common.dirs \
18         debian/nfs-common.files \
19         debian/nfs-common.init \
20         debian/nfs-common.install \
21         debian/nfs-common.postinst \
22         debian/nfs-common.postrm \
23         debian/nfs-common.prerm \
24         debian/nfs-kernel-server.NEWS \
25         debian/nfs-kernel-server.conffiles \
26         debian/nfs-kernel-server.default \
27         debian/nfs-kernel-server.dirs \
28         debian/nfs-kernel-server.init \
29         debian/nfs-kernel-server.postinst \
30         debian/nfs-kernel-server.postrm \
31         debian/nfs-kernel-server.prerm \
32         debian/nhfsstone.dirs \
33         debian/nhfsstone.files \
34         debian/nhfsstone.postinst \
35         debian/nhfsstone.prerm \
36         debian/rules \
37         \
38         aclocal/nfs-utils.m4 \
39         aclocal/kerberos5.m4 \
40         aclocal/tcp-wrappers.m4 \
41         \
42         support/rpc/include/rpc/auth_gss.h \
43         support/rpc/include/rpc/auth.h \
44         support/rpc/include/rpc/auth_unix.h \
45         support/rpc/include/rpc/clnt.h \
46         support/rpc/include/rpc/pmap_clnt.h \
47         support/rpc/include/rpc/pmap_prot.h \
48         support/rpc/include/rpc/pmap_rmt.h \
49         support/rpc/include/rpc/rpc_des.h \
50         support/rpc/include/rpc/rpc.h \
51         support/rpc/include/rpc/rpc_msg.h \
52         support/rpc/include/rpc/svc_auth.h \
53         support/rpc/include/rpc/svc.h \
54         support/rpc/include/rpc/types.h \
55         support/rpc/include/rpc/xdr.h
56
57
58 install-data-hook:
59         if [ ! -d $(DESTDIR)$(statedir) ]; then mkdir -p $(DESTDIR)$(statedir); fi
60         touch $(DESTDIR)$(statedir)/xtab; chmod 644 $(DESTDIR)$(statedir)/xtab
61         touch $(DESTDIR)$(statedir)/etab; chmod 644 $(DESTDIR)$(statedir)/etab
62         touch $(DESTDIR)$(statedir)/rmtab; chmod 644 $(DESTDIR)$(statedir)/rmtab
63         mkdir -p $(DESTDIR)$(statedir)/sm $(DESTDIR)$(statedir)/sm.bak
64         touch $(DESTDIR)$(statedir)/state
65         chmod go-rwx $(DESTDIR)$(statedir)/sm $(DESTDIR)$(statedir)/sm.bak $(DESTDIR)$(statedir)/state
66         chown $(statduser) $(DESTDIR)$(statedir)/sm $(DESTDIR)$(statedir)/sm.bak $(DESTDIR)$(statedir)/state
67
68 uninstall-hook:
69         rm $(DESTDIR)$(statedir)/xtab
70         rm $(DESTDIR)$(statedir)/etab
71         rm $(DESTDIR)$(statedir)/rmtab
72         rm $(DESTDIR)$(statedir)/state