Move obscure lib/ installation of /usr/lib/include symlink to include/.
This avoids the need for an afterinstall: hook and a check for LIBRARIES_ONLY. It also now respects INCLUDEDIR. This came in r249484. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
7b861220df
commit
d32e83c26d
@ -104,6 +104,8 @@ NEWVERS_SH= ${SYSDIR}/conf/newvers.sh
|
|||||||
PARAM_H= ${SYSDIR}/sys/param.h
|
PARAM_H= ${SYSDIR}/sys/param.h
|
||||||
MK_OSRELDATE_SH= ${.CURDIR}/mk-osreldate.sh
|
MK_OSRELDATE_SH= ${.CURDIR}/mk-osreldate.sh
|
||||||
|
|
||||||
|
SYMLINKS+= ${INCLUDEDIR} ${LIBDIR}/include
|
||||||
|
|
||||||
osreldate.h: ${NEWVERS_SH} ${PARAM_H} ${MK_OSRELDATE_SH}
|
osreldate.h: ${NEWVERS_SH} ${PARAM_H} ${MK_OSRELDATE_SH}
|
||||||
env NEWVERS_SH=${NEWVERS_SH} PARAMFILE=${PARAM_H} SYSDIR=${SYSDIR} \
|
env NEWVERS_SH=${NEWVERS_SH} PARAMFILE=${PARAM_H} SYSDIR=${SYSDIR} \
|
||||||
sh ${MK_OSRELDATE_SH}
|
sh ${MK_OSRELDATE_SH}
|
||||||
|
@ -314,11 +314,6 @@ _libusbhid= libusbhid
|
|||||||
_libusb= libusb
|
_libusb= libusb
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(LIBRARIES_ONLY)
|
|
||||||
afterinstall:
|
|
||||||
${INSTALL_SYMLINK} ../include ${DESTDIR}/usr/lib/include
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if !make(install)
|
.if !make(install)
|
||||||
SUBDIR_PARALLEL=
|
SUBDIR_PARALLEL=
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user