| 1 |
|
| 2 |
-include ../Makefile.conf |
| 3 |
include ../Makefile.rules |
| 4 |
|
| 5 |
all: autofs.init autofs.conf autofs.service |
| 6 |
|
| 7 |
autofs.init: autofs.init.in |
| 8 |
sed -e "s|@@sbindir@@|$(sbindir)|g" \ |
| 9 |
-e "s|@@autofslibdir@@|$(autofslibdir)|g" \ |
| 10 |
-e "s|@@autofsconfdir@@|$(autofsconfdir)|g" \ |
| 11 |
-e "s|@@autofspiddir@@|$(autofspiddir)|g" \ |
| 12 |
-e "s|@@initdir@@|$(initdir)|g" < autofs.init.in > autofs.init |
| 13 |
|
| 14 |
autofs.conf: autofs.conf.default.in |
| 15 |
sed -e "s|@@autofsmapdir@@|$(autofsmapdir)|g" \ |
| 16 |
< autofs.conf.default.in > autofs.conf |
| 17 |
|
| 18 |
autofs.service: ../samples/autofs.service.in |
| 19 |
sed -e "s|@@sbindir@@|$(sbindir)|g" \ |
| 20 |
-e "s|@@autofsconfdir@@|$(autofsconfdir)|g" \ |
| 21 |
-e "s|@@autofspiddir@@|$(autofspiddir)|g" \ |
| 22 |
< ../samples/autofs.service.in > autofs.service |
| 23 |
|
| 24 |
clean: |
| 25 |
rm -f autofs.init autofs.sysconfig autofs.service |
| 26 |
|