diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2001-12-14 12:17:03 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2001-12-14 12:17:03 +0000 |
commit | 7897c278e033495df5edd766f1b896e9c738b712 (patch) | |
tree | 8dc9d839f697f120a4bddcdd94729c9c272a97d8 | |
parent | 551d694f64492d4841014ae147153c9ca632408c (diff) | |
download | FreeBSD-src-7897c278e033495df5edd766f1b896e9c738b712.zip FreeBSD-src-7897c278e033495df5edd766f1b896e9c738b712.tar.gz |
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
-rw-r--r-- | share/examples/Makefile | 5 | ||||
-rw-r--r-- | share/examples/smbfs/Makefile | 5 | ||||
-rw-r--r-- | share/examples/smbfs/print/Makefile | 13 |
3 files changed, 21 insertions, 2 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile index 1f1b7e4..35f3546 100644 --- a/share/examples/Makefile +++ b/share/examples/Makefile @@ -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> diff --git a/share/examples/smbfs/Makefile b/share/examples/smbfs/Makefile new file mode 100644 index 0000000..daa8355 --- /dev/null +++ b/share/examples/smbfs/Makefile @@ -0,0 +1,5 @@ +# $FreeBSD$ + +SUBDIR= print + +.include <bsd.subdir.mk> diff --git a/share/examples/smbfs/print/Makefile b/share/examples/smbfs/print/Makefile new file mode 100644 index 0000000..9db1f94 --- /dev/null +++ b/share/examples/smbfs/print/Makefile @@ -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> |