diff --git a/share/examples/smbfs/Makefile b/share/examples/smbfs/Makefile index daa83557cf59..b2156da47eaf 100644 --- a/share/examples/smbfs/Makefile +++ b/share/examples/smbfs/Makefile @@ -1,5 +1,15 @@ # $FreeBSD$ +NOOBJ= noobj +BINDIR= /usr/share/examples + +DISTFILES= dot.nsmbrc + +beforeinstall: + cd ${.CURDIR}/../../../contrib/smbfs/examples; \ + ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \ + ${DISTFILES} ${DESTDIR}${BINDIR}/smbfs + SUBDIR= print -.include +.include