bsd.lib.mk: Add a install target for .pc files
That way the files are correctly taggued for pkgbase Reviewed by: bapt, emaste (both earlier version) Differential Revision: https://reviews.freebsd.org/D29171 MFC after: 2 weeks
This commit is contained in:
parent
839fc8cdf9
commit
8a84b3736b
@ -449,8 +449,20 @@ _SHLINSTALLSYMLINKFLAGS:= ${SHLINSTALLSYMLINKFLAGS}
|
|||||||
_SHLINSTALLFLAGS:= ${_SHLINSTALLFLAGS${ie}}
|
_SHLINSTALLFLAGS:= ${_SHLINSTALLFLAGS${ie}}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
|
.if defined(PCFILES)
|
||||||
|
.for pcfile in ${PCFILES}
|
||||||
|
installpcfiles: installpcfiles-${pcfile}
|
||||||
|
|
||||||
|
installpcfiles-${pcfile}: ${pcfile}
|
||||||
|
${INSTALL} ${TAG_ARGS:D${TAG_ARGS},dev} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
||||||
|
${_INSTALLFLAGS} \
|
||||||
|
${.ALLSRC} ${DESTDIR}${LIBDATADIR}/pkgconfig
|
||||||
|
.endfor
|
||||||
|
.endif
|
||||||
|
installpcfiles: .PHONY
|
||||||
|
|
||||||
.if !defined(INTERNALLIB)
|
.if !defined(INTERNALLIB)
|
||||||
realinstall: _libinstall
|
realinstall: _libinstall installpcfiles
|
||||||
.ORDER: beforeinstall _libinstall
|
.ORDER: beforeinstall _libinstall
|
||||||
_libinstall:
|
_libinstall:
|
||||||
.if defined(LIB) && !empty(LIB) && ${MK_INSTALLLIB} != "no"
|
.if defined(LIB) && !empty(LIB) && ${MK_INSTALLLIB} != "no"
|
||||||
|
Loading…
Reference in New Issue
Block a user