| 1 |
|
| 2 |
-include ../Makefile.conf |
| 3 |
include ../Makefile.rules |
| 4 |
|
| 5 |
GENFILES = $(patsubst %.in, %, $(wildcard *.[58].in)) |
| 6 |
|
| 7 |
.SUFFIXES: .in |
| 8 |
|
| 9 |
.in: |
| 10 |
sed -e 's|@@initdir@@|$(initdir)|g' \ |
| 11 |
-e 's|@@autofsmapdir@@|$(autofsmapdir)|g' \ |
| 12 |
-e "s|@@autofsconfdir@@|$(autofsconfdir)|g" \ |
| 13 |
< $< > $@ |
| 14 |
|
| 15 |
all: $(GENFILES) |
| 16 |
|
| 17 |
install: all |
| 18 |
install -d -m 755 $(INSTALLROOT)$(mandir)/man5 |
| 19 |
install -c *.5 -m 644 $(INSTALLROOT)$(mandir)/man5 |
| 20 |
install -d -m 755 $(INSTALLROOT)$(mandir)/man8 |
| 21 |
install -c *.8 -m 644 $(INSTALLROOT)$(mandir)/man8 |
| 22 |
|
| 23 |
clean: |
| 24 |
rm -f $(GENFILES) |