aboutsummaryrefslogtreecommitdiffstats
path: root/samples/Makefile
blob: 30d57abdc571a20e6f5092ea93c58c18750d1283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $Id$

-include ../Makefile.conf
include ../Makefile.rules

all: rc.autofs

clean:
	rm -f rc.autofs

install: all
	-mv -f $(INSTALLROOT)/etc/auto.master $(INSTALLROOT)/etc/auto.master.old
	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 755 $(INSTALLROOT)$(initdir)/autofs

rc.autofs: rc.autofs.in
	sed -e "s/@@sbindir@@/$(sbindir)/g" < rc.autofs.in > rc.autofs