blob: 6ea27671d07156a8e463ee9d5d39f60ed59c13a2 (
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
|
#
# linux-nfs/Makefile
#
SUBDIRS = tools support utils
TOP =
all:: config.mk utils/statd/.depend
include $(TOP)rules.mk
config.mk:
./configure
utils/statd/.depend:
$(MAKE) $(MFLAGS) dep
distclean clean::
rm -f postscript/*.ps
rm -f LOG make.log
distclean::
rm -fr bin
rm -f config.cache config.log config.mk config.status
install:: installman
if [ ! -d $(STATEDIR) ]; then mkdir -p $(STATEDIR); fi
touch $(STATEDIR)/xtab; chmod 644 $(STATEDIR)/xtab
touch $(STATEDIR)/etab; chmod 644 $(STATEDIR)/etab
touch $(STATEDIR)/rmtab; chmod 644 $(STATEDIR)/rmtab
mkdir -p $(STATEDIR)/sm $(STATEDIR)/sm.bak
touch $(STATEDIR)/state
chmod go-rwx $(STATEDIR)/sm $(STATEDIR)/sm.bak $(STATEDIR)/state
chown $(STATDUSER) $(STATEDIR)/sm $(STATEDIR)/sm.bak $(STATEDIR)/state
|