summaryrefslogtreecommitdiffstats
path: root/share/examples/smbfs
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-12-14 12:17:03 +0000
committersheldonh <sheldonh@FreeBSD.org>2001-12-14 12:17:03 +0000
commit7897c278e033495df5edd766f1b896e9c738b712 (patch)
tree8dc9d839f697f120a4bddcdd94729c9c272a97d8 /share/examples/smbfs
parent551d694f64492d4841014ae147153c9ca632408c (diff)
downloadFreeBSD-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
Diffstat (limited to 'share/examples/smbfs')
-rw-r--r--share/examples/smbfs/Makefile5
-rw-r--r--share/examples/smbfs/print/Makefile13
2 files changed, 18 insertions, 0 deletions
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>
OpenPOWER on IntegriCloud