aboutsummaryrefslogtreecommitdiff
path: root/share/misc/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2014-11-26 21:18:52 +0000
committerEnji Cooper <ngie@FreeBSD.org>2014-11-26 21:18:52 +0000
commit0341ccf22728f358d39b1f696786e7a34ce23669 (patch)
tree5b323214bcc00b4c3273f62d04e626ed9cc1da5c /share/misc/Makefile
parent38082ac9aed3bbef5c81dfee18880c1c3fec4b06 (diff)
downloadsrc-0341ccf22728f358d39b1f696786e7a34ce23669.tar.gz
src-0341ccf22728f358d39b1f696786e7a34ce23669.zip
Clean up more usb related files when MK_USB == no when dealing with
manpages, libraries, and binaries
Notes
Notes: svn path=/projects/building-blocks/; revision=275142
Diffstat (limited to 'share/misc/Makefile')
-rw-r--r--share/misc/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/share/misc/Makefile b/share/misc/Makefile
index 3e2afc43125f..16f803c2b27d 100644
--- a/share/misc/Makefile
+++ b/share/misc/Makefile
@@ -1,15 +1,22 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/8/93
# $FreeBSD$
+.include <src.opts.mk>
+
.PATH: ${.CURDIR}/../../sys/dev/usb
FILES= ascii birthtoken bsd-family-tree committers-doc.dot committers-ports.dot \
committers-src.dot eqnchar flowers init.ee \
iso3166 iso639 latin1 man.template mdoc.template operator pci_vendors \
- scsi_modes usb_hid_usages usbdevs \
+ scsi_modes \
organization.dot
NO_OBJ=
FILESDIR= ${BINDIR}/misc
+.if ${MK_USB} != "no"
+FILES+= usb_hid_usages
+FILES+= usbdevs
+.endif
+
.include <bsd.prog.mk>