diff options
author | njl <njl@FreeBSD.org> | 2005-03-02 10:45:09 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2005-03-02 10:45:09 +0000 |
commit | 8ec4560902e824bd3ee45a2c3252b666d1ede6b3 (patch) | |
tree | 7d976c0e051db0b488d60026f8b4f378f19cb86a /include | |
parent | 8e62c29bdd0c6bd75ee15271ae329c46f9d2a3bb (diff) | |
download | FreeBSD-src-8ec4560902e824bd3ee45a2c3252b666d1ede6b3.zip FreeBSD-src-8ec4560902e824bd3ee45a2c3252b666d1ede6b3.tar.gz |
Only install acpiio.h in /usr/include. That's all we want to export to users.
Submitted by: ru (any bugs by me)
MFC after: 1 day
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile index cd59065..0dfd110 100644 --- a/include/Makefile +++ b/include/Makefile @@ -122,11 +122,14 @@ copies: done .endif .endfor -.for i in ${LDIRS} ${LSUBDIRS:Ndev/bktr} ${LSUBSUBDIRS} +.for i in ${LDIRS} ${LSUBDIRS:Ndev/acpica:Ndev/bktr} ${LSUBSUBDIRS} cd ${.CURDIR}/../sys; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \ ${DESTDIR}${INCLUDEDIR}/$i .endfor + cd ${.CURDIR}/../sys/dev/acpica; \ + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 acpiio.h \ + ${DESTDIR}${INCLUDEDIR}/dev/acpica cd ${.CURDIR}/../sys/dev/bktr; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ioctl_*.h \ ${DESTDIR}${INCLUDEDIR}/dev/bktr @@ -159,12 +162,17 @@ symlinks: ln -fs ../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \ done .endfor -.for i in ${LSUBDIRS:Ndev/bktr} +.for i in ${LSUBDIRS:Ndev/acpica:Ndev/bktr} cd ${.CURDIR}/../sys/$i; \ for h in *.h; do \ ln -fs ../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \ done .endfor + cd ${.CURDIR}/../sys/dev/acpica; \ + for h in acpiio.h; do \ + ln -fs ../../../../sys/dev/acpica/$$h \ + ${DESTDIR}${INCLUDEDIR}/dev/acpica; \ + done cd ${.CURDIR}/../sys/dev/bktr; \ for h in ioctl_*.h; do \ ln -fs ../../../../sys/dev/bktr/$$h \ |