diff --git a/share/examples/Makefile b/share/examples/Makefile index 1f1b7e4fbd6..35f35464782 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 diff --git a/share/examples/smbfs/Makefile b/share/examples/smbfs/Makefile new file mode 100644 index 00000000000..daa83557cf5 --- /dev/null +++ b/share/examples/smbfs/Makefile @@ -0,0 +1,5 @@ +# $FreeBSD$ + +SUBDIR= print + +.include diff --git a/share/examples/smbfs/print/Makefile b/share/examples/smbfs/print/Makefile new file mode 100644 index 00000000000..9db1f9447ea --- /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