all repos — tint2 @ 237b19c5c9aaa0462eb73c472d20deeaf228e3ee

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

*fix* use relative path for DOCDIR/MANDIR/DATADIR (a change in CMAKE_INSTALL_PREFIX works now)



git-svn-id: http://tint2.googlecode.com/svn/trunk@484 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
Andreas.Fink85 Andreas.Fink85@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
commit

237b19c5c9aaa0462eb73c472d20deeaf228e3ee

parent

a85ae33b383eb32fbad49dcb53f98a348bdea607

2 files changed, 7 insertions(+), 7 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -62,10 +62,10 @@ add_subdirectory( src/tint2conf )

add_dependencies( tint2conf version ) endif( ENABLE_TINT2CONF ) -set( MANDIR ${CMAKE_INSTALL_PREFIX}/share/man) -set( DATADIR ${CMAKE_INSTALL_PREFIX}/share) -set( SYSCONFDIR /etc) -set( DOCDIR ${CMAKE_INSTALL_PREFIX}/share/doc/tint2) +set( MANDIR share/man CACHE PATH "Directory for man pages" ) +set( DATADIR share CACHE PATH "Directory for shared data" ) +set( SYSCONFDIR /etc CACHE PATH "Directory for configuration files" ) +set( DOCDIR share/doc/tint2 CACHE PATH "Directory for documentation files" ) add_custom_target( version ALL "${PROJECT_SOURCE_DIR}/get_svnrev.sh" "\"${PROJECT_SOURCE_DIR}\"" )

@@ -89,8 +89,8 @@ if( RT_LIBRARY )

target_link_libraries( tint2 ${RT_LIBRARY} ) endif( RT_LIBRARY ) -add_dependencies(tint2 version) -set_target_properties(tint2 PROPERTIES COMPILE_FLAGS -Wall) +add_dependencies( tint2 version ) +set_target_properties( tint2 PROPERTIES COMPILE_FLAGS -Wall ) #set_target_properties(tint2 PROPERTIES LINK_FLAGS -Wl,--as-needed) install( TARGETS tint2 DESTINATION bin )
M src/tint2conf/CMakeLists.txtsrc/tint2conf/CMakeLists.txt

@@ -28,7 +28,7 @@ ${IMLIB2_LIBRARIES}

${GTHREAD2_LIBRARIES} ${GTK2_LIBRARIES} ) -set_target_properties(tint2conf PROPERTIES COMPILE_FLAGS -Wall) +set_target_properties( tint2conf PROPERTIES COMPILE_FLAGS -Wall ) #set_target_properties(tint2conf PROPERTIES LINK_FLAGS -Wl,--as-needed) install( TARGETS tint2conf DESTINATION bin )