diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-07-01 17:04:12 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-07-01 17:04:12 +0100 |
commit | 0686e9a51c92ebea59017e94178ae379d3524eda (patch) | |
tree | 31e807ec32b372c1fa4472f26fcef957861308de | |
parent | b30f9461175f2f3eaa748a3a3ebe13d4aaba977e (diff) | |
download | termo-0686e9a51c92ebea59017e94178ae379d3524eda.tar.gz termo-0686e9a51c92ebea59017e94178ae379d3524eda.tar.xz termo-0686e9a51c92ebea59017e94178ae379d3524eda.zip |
Put LIBDIR and INCDIR directly in termkey.pc; don't indirect via PREFIX as it might be incorrect
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | termkey.pc.in | 5 |
2 files changed, 3 insertions, 4 deletions
@@ -52,7 +52,7 @@ install-inc: install -d $(DESTDIR)$(INCDIR) install -m644 termkey.h $(DESTDIR)$(INCDIR) install -d $(DESTDIR)$(LIBDIR)/pkgconfig - sed "s,@PREFIX@,$(PREFIX)," <termkey.pc.in >$(DESTDIR)$(LIBDIR)/pkgconfig/termkey.pc + sed "s,@LIBDIR@,$(LIBDIR),;s,@INCDIR@,$(INCDIR)," <termkey.pc.in >$(DESTDIR)$(LIBDIR)/pkgconfig/termkey.pc install-lib: install -d $(DESTDIR)$(LIBDIR) diff --git a/termkey.pc.in b/termkey.pc.in index 4c0eb8f..31113be 100644 --- a/termkey.pc.in +++ b/termkey.pc.in @@ -1,6 +1,5 @@ -prefix=@PREFIX@ -libdir=${prefix}/lib -includedir=${prefix}/include +libdir=@LIBDIR@ +includedir=@INCDIR@ Name: termkey Description: Abstract terminal key input library |