mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-12 12:19:10 +00:00
use implicit variable to generate pkgconfig file.
This makes it possible to locate the .in file using .PATH
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: bsd.xorg.mk,v 1.31 2009/05/22 15:34:15 matthieu Exp $ -*- makefile -*-
|
# $OpenBSD: bsd.xorg.mk,v 1.32 2009/05/22 15:46:13 matthieu Exp $ -*- makefile -*-
|
||||||
#
|
#
|
||||||
# Copyright <20> 2006 Matthieu Herrb
|
# Copyright <20> 2006 Matthieu Herrb
|
||||||
#
|
#
|
||||||
@@ -83,7 +83,7 @@ ${PKGCONFIG}: ${PKGCONFIG}.in
|
|||||||
-e 's#@includedir@#$${prefix}/include#g' \
|
-e 's#@includedir@#$${prefix}/include#g' \
|
||||||
-e 's#@PACKAGE_VERSION@#${PACKAGE_VERSION}#g' \
|
-e 's#@PACKAGE_VERSION@#${PACKAGE_VERSION}#g' \
|
||||||
${EXTRA_PKGCONFIG_SUBST} \
|
${EXTRA_PKGCONFIG_SUBST} \
|
||||||
< ${_SRCDIR}/${PKGCONFIG}.in > $@
|
< $? > $@
|
||||||
|
|
||||||
install-pc: ${PKGCONFIG}
|
install-pc: ${PKGCONFIG}
|
||||||
${INSTALL_DATA} ${PKGCONFIG} ${DESTDIR}${LIBDIR}/pkgconfig
|
${INSTALL_DATA} ${PKGCONFIG} ${DESTDIR}${LIBDIR}/pkgconfig
|
||||||
|
|||||||
Reference in New Issue
Block a user