*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
This commit is contained in:
Andreas.Fink85 2010-06-12 09:27:18 +00:00
parent a85ae33b38
commit 237b19c5c9
2 changed files with 7 additions and 7 deletions

View file

@ -62,10 +62,10 @@ if( ENABLE_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}\"" )