Arrange for the smbfs examples to be installed.
We don't install dot.nsmbrc or smbfs.sh.sample, since we already install the former as /etc/nsmb.conf and the latter is unnecessary, since boot-time mounts can be arranged directly within /etc/fstab without fear of breaking the boot when the smbfs port (now unnecessary is removed). The MFC reminder below is subject to <re@FreeBSD.org> approval priod to 4.5-RELEASE. MFC after: 1 week
This commit is contained in:
parent
85519b003a
commit
3becbb252c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87878
@ -3,7 +3,8 @@
|
||||
# Doing a make install builds /usr/share/examples
|
||||
|
||||
DIRS!= for i in *; do \
|
||||
if test -d $$i -a $$i != CVS -a $$i != ipfilter; then \
|
||||
if test -d $$i -a $$i != CVS -a \
|
||||
$$i != ipfilter -a $$i != smbfs; then \
|
||||
echo $$i; \
|
||||
fi; \
|
||||
done
|
||||
@ -40,7 +41,7 @@ etc-examples:
|
||||
.endif
|
||||
|
||||
.if ${SHARED} != "symlinks"
|
||||
SUBDIR= ipfilter
|
||||
SUBDIR= ipfilter smbfs
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
5
share/examples/smbfs/Makefile
Normal file
5
share/examples/smbfs/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR= print
|
||||
|
||||
.include <bsd.subdir.mk>
|
13
share/examples/smbfs/print/Makefile
Normal file
13
share/examples/smbfs/print/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
# $FreeBSD$
|
||||
|
||||
NOOBJ= noobj
|
||||
BINDIR= /usr/share/examples
|
||||
|
||||
DISTFILES= lj6l ljspool printcap.sample tolj
|
||||
|
||||
beforeinstall:
|
||||
cd ${.CURDIR}/../../../../contrib/smbfs/examples/print; \
|
||||
${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
|
||||
${DISTFILES} ${DESTDIR}${BINDIR}/smbfs/print
|
||||
|
||||
.include <bsd.prog.mk>
|
Loading…
Reference in New Issue
Block a user