aboutsummaryrefslogtreecommitdiff
path: root/pkgconfig/Makefile
blob: 80514d6a4cbc19f35012f83a72ed03b6a9de8ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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