diff options
Diffstat (limited to 'pkgconfig')
-rw-r--r-- | pkgconfig/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgconfig/Makefile b/pkgconfig/Makefile index cdcf8be8..4bf28cfb 100644 --- a/pkgconfig/Makefile +++ b/pkgconfig/Makefile @@ -2,7 +2,8 @@ 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 +.DEFAULT: + ${SED} -n -e 's/^VERSION=[[:space:]]*\([^[:space:]]*\).*/#define VERSION "\1${GITVER}\"/p' ../../Makefile > version.h SED_EXTRA= -e 's:@VERSION@:${VERSION}:g' |