From aa7d7171c84b7679da294968df2c41f27c05ef5a Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Tue, 22 Dec 2009 21:02:19 +0000 Subject: [PATCH] Sync libnfc.pc includedir with the rest of the project source files. When I introduced headers separation (aka includes-revamp branch), the libnfc source code includes have been changed from '#include "../xx/nfc*.h"' to '#include ' (when compiling, the source include dir (src/include) has precedence over '${prefix}/include'). For the sake of consistency, update libnfc.pc includedir so that compiling third party code using '#include ' just works (tm). This provides much more consistent headers since they are usually referred relative to the includedir (exceptions are e.g. glib, gtk, xorg... quite bigger than libnfc I could say). --- libnfc.pc.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libnfc.pc.in b/libnfc.pc.in index 7789156..d795823 100644 --- a/libnfc.pc.in +++ b/libnfc.pc.in @@ -1,7 +1,8 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ -includedir=@includedir@/nfc +includedir=@includedir@ + Name: libnfc Description: Near Field Communication (NFC) library Version: @VERSION@