Add pkg-config support, fixes #187.
This commit is contained in:
11
pkgconfig/Makefile
Normal file
11
pkgconfig/Makefile
Normal file
@@ -0,0 +1,11 @@
|
||||
DIR= ${LIBDIR}/pkgconfig
|
||||
SRCS= einfo.pc.in openrc.pc.in
|
||||
INC= einfo.pc openrc.pc
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user