summaryrefslogtreecommitdiffstats
path: root/cddl/lib
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-01-17 17:27:10 +0000
committerbrooks <brooks@FreeBSD.org>2013-01-17 17:27:10 +0000
commit2434ed6f8586356e8496666855b598a968bb578f (patch)
treef01f379aed098f3fb906661823e6028dc5aa48d7 /cddl/lib
parent465afdcd2717953d2a1d6ea8dca304f0f2ff759e (diff)
downloadFreeBSD-src-2434ed6f8586356e8496666855b598a968bb578f.zip
FreeBSD-src-2434ed6f8586356e8496666855b598a968bb578f.tar.gz
Add a new LIBRARIES_ONLY make variable to disable the build and install
of files other than the actual libraries. Use LIBRARIES_ONLY to supress the inclusion of files in the lib32 distribution that are duplicates of files in base. Sponsored by: DARPA, AFRL Reviewed by: emaste
Diffstat (limited to 'cddl/lib')
-rw-r--r--cddl/lib/libdtrace/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/lib/libdtrace/Makefile b/cddl/lib/libdtrace/Makefile
index 3a79e87..17f0be6 100644
--- a/cddl/lib/libdtrace/Makefile
+++ b/cddl/lib/libdtrace/Makefile
@@ -103,7 +103,7 @@ dt_names.c:
beforedepend: dt_errtags.c dt_names.c
beforeinstall:
-.if exists(${DESTDIR}/usr/lib/dtrace)
+.if !defined(LIBRARIES_ONLY) && exists(${DESTDIR}/usr/lib/dtrace)
.for file in ${DSRCS}
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} ${.CURDIR}/${file} ${DESTDIR}/usr/lib/dtrace
.endfor
OpenPOWER on IntegriCloud