summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2011-10-18 16:06:05 -0700
committerCarl Worth <cworth@cworth.org>2011-10-19 09:54:30 -0700
commit9ed226c8a4e9d511fac9b8ec772a6c06fa0a6802 (patch)
tree8f2d9fcd4431eb13b065981afae018dac2d607f7
parent71f2de7f059df2587b2ba4489aa1cc399f3ebdb8 (diff)
Change non-executable install directories to include an "apitrace" component
It's just more polite to put documentation into <prefix>/share/doc/apitrace rather than just dumping it into the top-level <prefix>/doc. Similarly, since glxtrace.so is not a conventional library, it doesn't belong in <prefix>/lib but is well-suited for <prefix>/lib/apitrace.
-rwxr-xr-xCMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index db3d9ab..b8e37d6 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -383,7 +383,7 @@ else ()
target_link_libraries (glxtrace dl ${X11_X11_LIB})
- install (TARGETS glxtrace LIBRARY DESTINATION lib)
+ install (TARGETS glxtrace LIBRARY DESTINATION lib/apitrace)
endif ()
@@ -465,7 +465,7 @@ install (
NEWS.markdown
README.markdown
TODO.markdown
- DESTINATION doc)
+ DESTINATION share/doc/apitrace)
set (CPACK_PACKAGE_VERSION_MAJOR "2")
set (CPACK_PACKAGE_VERSION_MINOR "0")