aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/makefile/unix_shr.in
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-06 23:44:56 +0000
committerlloyd <[email protected]>2008-11-06 23:44:56 +0000
commitad868620daaed3f73d157ad594ce317a05ebe23d (patch)
treeb2bca3f1cee40c6e1a4dcf12afdc739f9b43d64a /src/build-data/makefile/unix_shr.in
parent94fe0194bbe5d9d5be9b1104cc81825a05e996e5 (diff)
Provide pkg-config file as botan-$major$minor.pc, so it can be used like:
$ pkg-config botan-17 --libs -L/usr/local/lib -lbotan -lm -lpthread -lrt to make it easier to have multiple versions of Botan installed and in use at the same time.
Diffstat (limited to 'src/build-data/makefile/unix_shr.in')
-rw-r--r--src/build-data/makefile/unix_shr.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/makefile/unix_shr.in b/src/build-data/makefile/unix_shr.in
index 1a70fef99..b4076db49 100644
--- a/src/build-data/makefile/unix_shr.in
+++ b/src/build-data/makefile/unix_shr.in
@@ -32,7 +32,7 @@ DOCDIR = $(DESTDIR)/@{var:docdir}/Botan-$(VERSION)
PKGCONF_DIR = $(LIBDIR)/pkgconfig
CONFIG_SCRIPT = @{var:botan-config}
-PKGCONFIG = botan.pc
+PKGCONFIG = @{var:botan-pkgconfig}
##################################################
# Aliases for Common Programs #
@@ -118,7 +118,7 @@ clean:
distclean: clean
$(RM_R) @{var:build-dir}
$(RM_R) @{var:doc-dir}/doxygen @{var:doc-dir}/botan.doxy
- $(RM) Makefile $(CONFIG_SCRIPT) botan.pc
+ $(RM) Makefile $(CONFIG_SCRIPT) $(PKGCONFIG)
install: $(LIBRARIES)
$(ECHO) "Installing Botan into $(DESTDIR)... "