Install a .pc file so that pkg-config works

This commit is contained in:
Paul LeoNerd Evans
2008-11-02 18:37:29 +00:00
parent aef409c460
commit ca2bbaf251
2 changed files with 11 additions and 0 deletions

View File

@@ -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