fccd37c34c
This allows pkgconfig files to be stored in /usr even if PREFIX is /.
13 lines
308 B
Makefile
13 lines
308 B
Makefile
DIR= ${PKGCONFIGDIR}
|
|
SRCS= einfo.pc.in openrc.pc.in
|
|
INC= einfo.pc openrc.pc
|
|
|
|
.DEFAULT:
|
|
${SED} -n -e 's/^VERSION=[[:space:]]*\([^[:space:]]*\).*/#define VERSION "\1${GITVER}\"/p' ../../Makefile > version.h
|
|
|
|
SED_EXTRA= -e 's:@VERSION@:${VERSION}:g'
|
|
|
|
MK= ../mk
|
|
include ../Makefile.inc
|
|
include ${MK}/scripts.mk
|