]> git.decadent.org.uk Git - nfs-utils.git/blob - Makefile
statd cleanup
[nfs-utils.git] / Makefile
1 #
2 # linux-nfs/Makefile
3 #
4
5 SUBDIRS = tools support utils
6 TOP     = 
7
8 include $(TOP)rules.mk
9
10 distclean clean::
11         rm -f postscript/*.ps
12         rm -f LOG make.log
13
14 distclean::
15         rm -fr bin
16         rm -f config.cache config.log config.mk config.status
17
18 install:: installman
19         if [ ! -d $(STATEDIR) ]; then mkdir -p $(STATEDIR); fi
20         touch $(STATEDIR)/xtab; chmod 644 $(STATEDIR)/xtab
21         touch $(STATEDIR)/etab; chmod 644 $(STATEDIR)/etab
22         touch $(STATEDIR)/rmtab; chmod 644 $(STATEDIR)/rmtab
23         mkdir -p $(STATEDIR)/sm $(STATEDIR)/sm.bak
24         touch $(STATEDIR)/state
25         chmod go-rwx $(STATEDIR)/sm $(STATEDIR)/sm.bak $(STATEDIR)/state
26         chown $(STATDUSER) $(STATEDIR)/sm $(STATEDIR)/sm.bak $(STATEDIR)/state