aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-02-13 19:32:27 +0000
committerlloyd <[email protected]>2014-02-13 19:32:27 +0000
commit45b536e7a41ff1f6f2e064dc55549cb8076bc81b (patch)
tree3a92de1f2d4b20f398d72ede2413acc74ae96b82 /src
parent76bb8ade2fab7c32ee949458f6f5c88d943431eb (diff)
Add --destdir option to configure.py
Diffstat (limited to 'src')
-rw-r--r--src/build-data/makefile/header.in2
-rw-r--r--src/cmd/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/makefile/header.in b/src/build-data/makefile/header.in
index 4229de29b..5f81fa0a5 100644
--- a/src/build-data/makefile/header.in
+++ b/src/build-data/makefile/header.in
@@ -21,7 +21,7 @@ VERSION = %{version}
BRANCH = %{version_major}.%{version_minor}
# Installation Settings
-DESTDIR = %{prefix}
+DESTDIR = %{destdir}
BINDIR = $(DESTDIR)/bin
LIBDIR = $(DESTDIR)/%{libdir}
HEADERDIR = $(DESTDIR)/%{includedir}/botan-$(BRANCH)/botan
diff --git a/src/cmd/main.cpp b/src/cmd/main.cpp
index f16db2027..cd42658b9 100644
--- a/src/cmd/main.cpp
+++ b/src/cmd/main.cpp
@@ -40,7 +40,7 @@ int config_main(int argc, char* argv[])
if(argc != 2)
{
std::cout << "Usage: " << argv[0] << " <what>\n"
- << " prefix: Print include params\n"
+ << " prefix: Print install prefix\n"
<< " cflags: Print include params\n"
<< " ldflags: Print linker params\n"
<< " libs: Print libraries\n";