summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>1999-06-27 16:42:25 +0000
committersheldonh <sheldonh@FreeBSD.org>1999-06-27 16:42:25 +0000
commit32a079dfa9ef6333b7da250e2ccc897157881ed7 (patch)
tree3b8b1311cdebc922eda3b87df4398d6b65a293c7 /share/examples
parent80b4d1b00224259b2aeeae1a3727cda3eb12c548 (diff)
downloadFreeBSD-src-32a079dfa9ef6333b7da250e2ccc897157881ed7.zip
FreeBSD-src-32a079dfa9ef6333b7da250e2ccc897157881ed7.tar.gz
Do nothing for the etc-examples target when SHARED=symlinks, since we'll
end up trying to install into the source directory. Reported by: bde
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index 9946eb2..fa630aa 100644
--- a/share/examples/Makefile
+++ b/share/examples/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.23 1997/02/22 13:55:43 peter Exp $
+# $Id: Makefile,v 1.24 1999/06/24 09:45:26 sheldonh Exp $
#
# Doing a make install builds /usr/share/examples
@@ -31,6 +31,8 @@ symlinks::
.endfor
etc-examples:
+.if ${SHARED} != "symlinks"
(cd ${.CURDIR}/../../etc; ${MAKE} etc-examples)
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud