Put LIBDIR and INCDIR directly in termkey.pc; don't indirect via PREFIX as it might be incorrect
This commit is contained in:
parent
b30f946117
commit
0686e9a51c
2
Makefile
2
Makefile
@ -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)
|
||||
|
@ -1,6 +1,5 @@
|
||||
prefix=@PREFIX@
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
libdir=@LIBDIR@
|
||||
includedir=@INCDIR@
|
||||
|
||||
Name: termkey
|
||||
Description: Abstract terminal key input library
|
||||
|
Loading…
Reference in New Issue
Block a user