From 4dc6d6ecb0f83d4b8555109635ad521dd9f103f5 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Thu, 4 Jun 2020 23:24:30 +0200 Subject: [PATCH] autofs: Continue installing auto_master to /usr/share/examples/etc too. We keep an unmodified copy of our shipped /etc in /usr/share/examples/etc and the recent move of auto_master from etc/ (where we get this copying gratis) to usr.sbin/autofs requires an extra Makefile now. --- share/examples/Makefile | 2 +- share/examples/autofs/Makefile | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 share/examples/autofs/Makefile diff --git a/share/examples/Makefile b/share/examples/Makefile index 5c65caef29..783daf5c3f 100644 --- a/share/examples/Makefile +++ b/share/examples/Makefile @@ -41,7 +41,7 @@ etc-examples: .endif .if ${SHARED} != "symlinks" -SUBDIR= acpica smbfs ssh ssl +SUBDIR= acpica autofs smbfs ssh ssl .endif .include diff --git a/share/examples/autofs/Makefile b/share/examples/autofs/Makefile new file mode 100644 index 0000000000..8fce03fa6c --- /dev/null +++ b/share/examples/autofs/Makefile @@ -0,0 +1,8 @@ +.PATH: ${.CURDIR}/../../../usr.sbin/autofs + +NOOBJ= noobj +FILES= auto_master +FILESDIR= /usr/share/examples/etc +FILESMODE= 644 + +.include -- 2.41.0