kernel/evdev: Expose headers to userland.
authorPeeter Must <karu.pruun@gmail.com>
Thu, 4 Jan 2018 12:34:57 +0000 (14:34 +0200)
committerPeeter Must <karu.pruun@gmail.com>
Thu, 4 Jan 2018 12:34:57 +0000 (14:34 +0200)
etc/mtree/BSD.include.dist
include/Makefile

index 6e2797b..9ba8f49 100644 (file)
             ..
         ..
         misc
+            evdev
+            ..
             lpt
             ..
             ppi
index 922d1c3..9bd8802 100644 (file)
@@ -175,6 +175,12 @@ copies:            mtree_setup
        cd ${.CURDIR}/../sys/dev/acpica; \
                ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 acpiio.h \
                ${DESTDIR}/usr/include/dev/acpica
+       cd ${.CURDIR}/../sys/dev/misc/evdev; \
+               ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 input.h \
+               ${DESTDIR}/usr/include/dev/misc/evdev
+       cd ${.CURDIR}/../sys/dev/misc/evdev; \
+               ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 input-event-codes.h \
+               ${DESTDIR}/usr/include/dev/misc/evdev
 .if exists(${.CURDIR}/../sys/cpu/${MACHINE_ARCH}/include)
        cd ${.CURDIR}/../sys/cpu/${MACHINE_ARCH}/include; \
                ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \