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 | |
parent | 584b91f0199267caff2f568dfaafc3c001eef81b (diff) |
Install pkg-config file to /lib/pkgconfig
-rw-r--r-- | src/build-data/makefile/unix.in | 8 | ||||
-rw-r--r-- | src/build-data/makefile/unix_shr.in | 10 |
2 files changed, 13 insertions, 5 deletions
diff --git a/src/build-data/makefile/unix.in b/src/build-data/makefile/unix.in index e0e49017f..1355b7449 100644 --- a/src/build-data/makefile/unix.in +++ b/src/build-data/makefile/unix.in @@ -27,8 +27,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 # @@ -111,11 +113,13 @@ 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_DATA) $(STATIC_LIB) $(LIBDIR) + $(INSTALL_CMD_EXEC) $(CONFIG_SCRIPT) $(BINDIR) + $(INSTALL_CMD_DATA) $(PKGCONFIG) $(PKGCONF_DIR)
\ No newline at end of file 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) |