diff options
Diffstat (limited to 'samples/Makefile')
-rw-r--r-- | samples/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/samples/Makefile b/samples/Makefile index 4e7ebf4..c7a216f 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -3,7 +3,7 @@ -include ../Makefile.conf include ../Makefile.rules -all: +all: rc.autofs clean: @@ -12,4 +12,7 @@ install: all install -c auto.master -m 644 $(INSTALLROOT)/etc -mv -f $(INSTALLROOT)/etc/auto.misc $(INSTALLROOT)/etc/auto.misc.old install -c auto.misc -m 644 $(INSTALLROOT)/etc - install -c rc.autofs -m 744 $(INSTALLROOT)$(initdir)/autofs + install -c rc.autofs -m 755 $(INSTALLROOT)$(initdir)/autofs + +rc.autofs: rc.autofs.in + sed -e "s/@@sbindir@@/$(sbindir)/g" < rc.autofs.in > rc.autofs |