From 77275eae72bfe082be94615dea32a350a49001b6 Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Sun, 29 Jan 2012 02:03:53 +0100 Subject: lem.pc: store include directory --- Makefile | 2 +- lem.pc.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5eb6e37..d1efe9d 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,7 @@ config.h: config.$(OS) lem.pc: lem.pc.in $E ' SED $@' - $Q$(SED) -e 's|@PATH@|$(LUA_PATH)|;s|@CPATH@|$(LUA_CPATH)|;s|@LIB_INCLUDES@|$(LIB_INCLUDES)|' $< > $@ + $Q$(SED) -e 's|@PATH@|$(LUA_PATH)|;s|@CPATH@|$(LUA_CPATH)|;s|@INCDIR@|$(INCDIR)|;s|@LIB_INCLUDES@|$(LIB_INCLUDES)|' $< > $@ %.pic.o: %.c config.h $E ' CC $@' diff --git a/lem.pc.in b/lem.pc.in index 046bd00..2c2b57a 100644 --- a/lem.pc.in +++ b/lem.pc.in @@ -1,5 +1,6 @@ path=@PATH@ cpath=@CPATH@ +incdir=@INCDIR@ Name: lem Description: A Lua Event Machine -- cgit v1.2.1