aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt14
-rwxr-xr-xchange2
2 files changed, 15 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c137942..f61200c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,3 +22,17 @@ target_link_libraries(
boost_system
boost_filesystem
)
+
+install(
+ PROGRAMS
+ change
+ DESTINATION
+ bin
+)
+
+install(
+ TARGETS
+ ChangeLog
+ LIBRARY DESTINATION
+ lib
+)
diff --git a/change b/change
index 04cae2f..93e1077 100755
--- a/change
+++ b/change
@@ -1,6 +1,6 @@
#!/usr/bin/bash
-export LD_PRELOAD=/usr/lib/libChangeLog.so
+export LD_PRELOAD=libChangeLog.so
export CHANGE_LOG_TARGET="/tmp/$(basename $0).$$.tmp"
eval "$1"