aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-02 18:37:29 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-02 18:37:29 +0000
commitca2bbaf251984822fdd543abb453d1ffbe4d2367 (patch)
treeab9b252fa21ebf79134ffb94a960d8f9462a443f /Makefile
parentaef409c4601014d65e3dc9975bb30fadfdfec731 (diff)
downloadtermo-ca2bbaf251984822fdd543abb453d1ffbe4d2367.tar.gz
termo-ca2bbaf251984822fdd543abb453d1ffbe4d2367.tar.xz
termo-ca2bbaf251984822fdd543abb453d1ffbe4d2367.zip
Install a .pc file so that pkg-config works
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 90f3029..c6a1934 100644
--- a/Makefile
+++ b/Makefile
@@ -35,3 +35,5 @@ install:
install -d $(DESTDIR)$(LIBDIR)
install libtermkey.so $(DESTDIR)$(LIBDIR)/$(SONAME)
ln -sf $(SONAME) $(DESTDIR)$(LIBDIR)/libtermkey.so
+ install -d $(DESTDIR)$(LIBDIR)/pkgconfig
+ sed "s,@PREFIX@,$(PREFIX)," <termkey.pc.in >$(DESTDIR)$(LIBDIR)/pkgconfig/termkey.pc