summaryrefslogtreecommitdiffstats
path: root/tde-i18n-zh_CN/docs/common/CMakeLists.txt
blob: 5e188939490fba98410ada70d68e329990d2a1a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#################################################
#
#  (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}/zh_CN/common )
endforeach( )

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