diff options
author | lloyd <[email protected]> | 2008-10-22 18:45:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-22 18:45:59 +0000 |
commit | bdf4f43368b697edc95a53530d6f3f9919d3b9ce (patch) | |
tree | a512d3545712d2ba9451092ed1c613be779728ef /src/build-data/makefile/unix_shr.in | |
parent | 584b91f0199267caff2f568dfaafc3c001eef81b (diff) |
Install pkg-config file to /lib/pkgconfig
Diffstat (limited to 'src/build-data/makefile/unix_shr.in')
-rw-r--r-- | src/build-data/makefile/unix_shr.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/build-data/makefile/unix_shr.in b/src/build-data/makefile/unix_shr.in index d13594ff0..1a70fef99 100644 --- a/src/build-data/makefile/unix_shr.in +++ b/src/build-data/makefile/unix_shr.in @@ -29,8 +29,10 @@ BINDIR = $(DESTDIR)/bin LIBDIR = $(DESTDIR)/@{var:libdir} HEADERDIR = $(DESTDIR)/@{var:includedir}/botan DOCDIR = $(DESTDIR)/@{var:docdir}/Botan-$(VERSION) +PKGCONF_DIR = $(LIBDIR)/pkgconfig CONFIG_SCRIPT = @{var:botan-config} +PKGCONFIG = botan.pc ################################################## # Aliases for Common Programs # @@ -124,13 +126,15 @@ install: $(LIBRARIES) $(MKDIR_INSTALL) $(HEADERDIR) $(MKDIR_INSTALL) $(LIBDIR) $(MKDIR_INSTALL) $(BINDIR) + $(MKDIR_INSTALL) $(PKGCONF_DIR) @for i in $(DOCS); do \ $(INSTALL_CMD_DATA) $$i $(DOCDIR); \ done @for i in $(HEADERS); do \ $(INSTALL_CMD_DATA) $$i $(HEADERDIR); \ done - @$(INSTALL_CMD_DATA) $(STATIC_LIB) $(LIBDIR) - @$(INSTALL_CMD_EXEC) $(CONFIG_SCRIPT) $(BINDIR) - @$(INSTALL_CMD_EXEC) $(SHARED_LIB) $(LIBDIR) + $(INSTALL_CMD_DATA) $(STATIC_LIB) $(LIBDIR) + $(INSTALL_CMD_EXEC) $(CONFIG_SCRIPT) $(BINDIR) + $(INSTALL_CMD_EXEC) $(SHARED_LIB) $(LIBDIR) + $(INSTALL_CMD_DATA) $(PKGCONFIG) $(PKGCONF_DIR) $(CD) $(LIBDIR); $(LN) $(SHARED_LIB) $(SYMLINK) |