summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 8298aa08262bd940e8ba7983393ed65327f37815 (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
46
47
48
49
50
51
52
53
54
55
56
## Process this file with automake to produce Makefile.in

SUBDIRS = tools support utils linux-nfs

MAINTAINERCLEANFILES = Makefile.in

EXTRA_DIST = \
	autogen.sh \
	\
	debian/changelog \
	debian/control \
	debian/copyright \
	debian/etc.exports \
	debian/idmapd.conf \
	debian/nfs-common.conffiles \
	debian/nfs-common.default \
	debian/nfs-common.dirs \
	debian/nfs-common.files \
	debian/nfs-common.init \
	debian/nfs-common.install \
	debian/nfs-common.postinst \
	debian/nfs-common.postrm \
	debian/nfs-common.prerm \
	debian/nfs-kernel-server.NEWS \
	debian/nfs-kernel-server.conffiles \
	debian/nfs-kernel-server.default \
	debian/nfs-kernel-server.dirs \
	debian/nfs-kernel-server.init \
	debian/nfs-kernel-server.postinst \
	debian/nfs-kernel-server.postrm \
	debian/nfs-kernel-server.prerm \
	debian/nhfsstone.dirs \
	debian/nhfsstone.files \
	debian/nhfsstone.postinst \
	debian/nhfsstone.prerm \
	debian/rules \
	\
	aclocal/nfs-utils.m4 \
	aclocal/kerberos5.m4 \
	aclocal/tcp-wrappers.m4

install-data-hook:
	if [ ! -d $(DESTDIR)$(statedir) ]; then mkdir -p $(DESTDIR)$(statedir); fi
	touch $(DESTDIR)$(statedir)/xtab; chmod 644 $(DESTDIR)$(statedir)/xtab
	touch $(DESTDIR)$(statedir)/etab; chmod 644 $(DESTDIR)$(statedir)/etab
	touch $(DESTDIR)$(statedir)/rmtab; chmod 644 $(DESTDIR)$(statedir)/rmtab
	mkdir -p $(DESTDIR)$(statedir)/sm $(DESTDIR)$(statedir)/sm.bak
	touch $(DESTDIR)$(statedir)/state
	chmod go-rwx $(DESTDIR)$(statedir)/sm $(DESTDIR)$(statedir)/sm.bak $(DESTDIR)$(statedir)/state
	chown $(statduser) $(DESTDIR)$(statedir)/sm $(DESTDIR)$(statedir)/sm.bak $(DESTDIR)$(statedir)/state

uninstall-hook:
	rm $(DESTDIR)$(statedir)/xtab
	rm $(DESTDIR)$(statedir)/etab
	rm $(DESTDIR)$(statedir)/rmtab
	rm $(DESTDIR)$(statedir)/state