summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-08-28 17:21:36 +0000
committerbde <bde@FreeBSD.org>1994-08-28 17:21:36 +0000
commit46a749221817e9edeff21e5fc75cd5778b9f4bcf (patch)
tree7a2c3293ee2201686cb226a5ad7f00cc9cbe12ca /share/examples
parentce729aba5e8d63a3880773517cd816488c39e274 (diff)
downloadFreeBSD-src-46a749221817e9edeff21e5fc75cd5778b9f4bcf.zip
FreeBSD-src-46a749221817e9edeff21e5fc75cd5778b9f4bcf.tar.gz
Define NOOBJ so that install doesn't try to get the sources from the
wrong place. Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index d321b8a..1653527 100644
--- a/share/examples/Makefile
+++ b/share/examples/Makefile
@@ -1,20 +1,21 @@
-# $Id: Makefile,v 1.2 1994/08/10 06:40:29 wollman Exp $
+# $Id: Makefile,v 1.3 1994/08/19 20:43:42 wollman Exp $
#
# Doing a make install builds /usr/share/examples
-#
-all clean cleandir depend lint tags:
DIRS=etc FreeBSD_version lkm sunrpc
+NOOBJ= noobj
# Define SHARED to indicate whether you want symbolic links to the system
# source (``symlinks''), or a separate copy (``copies''); (latter useful
# in environments where it's not possible to keep /sys publicly readable)
SHARED?= copies
+all clean cleandir depend lint tags:
+
beforeinstall: ${SHARED}
copies:
- @echo installing ${DESTDIR}/usr/share/examples
+ @${ECHO} installing ${DESTDIR}/usr/share/examples
@rm -rf ${DESTDIR}/usr/share/examples
@-mkdir ${DESTDIR}/usr/share/examples
@tar cf - ${DIRS} | \
@@ -23,7 +24,7 @@ copies:
@chmod -R a-w ${DESTDIR}/usr/share/examples
symlinks:
- @echo installing symlinks in ${DESTDIR}/usr/share/examples
+ @${ECHO} installing symlinks in ${DESTDIR}/usr/share/examples
@rm -rf ${DESTDIR}/usr/share/examples
@-mkdir ${DESTDIR}/usr/share/examples
@-for a in ${DIRS}; do \
@@ -33,5 +34,3 @@ symlinks:
@chmod -R a-w ${DESTDIR}/usr/share/examples
.include <bsd.prog.mk>
-
-
OpenPOWER on IntegriCloud