From 820c11d74b836236b4ed878b76df794c6ce5a1fb Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Sat, 29 Apr 2023 16:37:06 +0200 Subject: add prefix to termkey.pc diff --git a/Makefile b/Makefile index 199f143..2c55642 100644 --- a/Makefile +++ b/Makefile @@ -112,7 +112,7 @@ install-inc: termkey.h install -d $(DESTDIR)$(INCDIR) install -m644 termkey.h $(DESTDIR)$(INCDIR) install -d $(DESTDIR)$(LIBDIR)/pkgconfig - LIBDIR=$(LIBDIR) INCDIR=$(INCDIR) VERSION=$(VERSION) sh termkey.pc.sh >$(DESTDIR)$(LIBDIR)/pkgconfig/termkey.pc + PREFIX=$(PREFIX) LIBDIR=$(LIBDIR) INCDIR=$(INCDIR) VERSION=$(VERSION) sh termkey.pc.sh >$(DESTDIR)$(LIBDIR)/pkgconfig/termkey.pc install-lib: $(LIBRARY) install -d $(DESTDIR)$(LIBDIR) diff --git a/termkey.pc.sh b/termkey.pc.sh index 5ee3a76..30b9efa 100644 --- a/termkey.pc.sh +++ b/termkey.pc.sh @@ -1,4 +1,5 @@ cat <