X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=Makefile;h=5c69ae9bb96372a091501b7a6608d1ea7729fde8;hp=2789f00a715426a417e053e04bf6a7c7cd6b7e25;hb=9074a5650852015db648b8e4fd45b1cd40ab12b2;hpb=8b7ad01b14df1e7529b9ba8a1ea17df0d6004ef9 diff --git a/Makefile b/Makefile index 2789f00..5c69ae9 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,18 @@ SUBDIRS = tools support utils TOP = +all:: config.mk utils/statd/.depend +install:: all + include $(TOP)rules.mk + +config.mk: + ./configure + +utils/statd/.depend: + $(MAKE) $(MFLAGS) dep + distclean clean:: rm -f postscript/*.ps rm -f LOG make.log @@ -20,3 +30,7 @@ install:: installman 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