#################################################
#
#  (C) 2013 Alexander Golubev (Fat-Zer)
#  fatzer2 (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

set( common_docs_INSTALL
  fdl-translated.html
  gpl-translated.html
  lgpl-translated.html
  logotp3.png
  tde-localised.css
)

file( GLOB common_docs_LINK
  RELATIVE ${TDE_HTML_DIR}/en/common/
  ${TDE_HTML_DIR}/en/common/*)

foreach( _file IN LISTS common_docs_INSTALL)
  list( REMOVE_ITEM common_docs_LINK _file )
  install( FILES ${_file}
    DESTINATION ${HTML_INSTALL_DIR}/cs/common )
endforeach( )

foreach( _file IN LISTS common_docs_LINK)
  tde_install_symlink(
    ${TDE_HTML_DIR}/en/common/${_file}
    ${HTML_INSTALL_DIR}/cs/common/${_file} )
endforeach( )