summaryrefslogtreecommitdiffstats
path: root/tde-i18n-ru/docs/common/CMakeLists.txt
blob: afb812efd9c523a7a068eccf75c887fa1431f07e (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#################################################
#
#  (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
  appheader.html
  artistic-license.html
  bsd-license.html
  doxygen.css
  fdl-license
  fdl-license.html
  fdl-notice.html
  footer.html
  gpl-license
  gpl-license.html
  header.html
  lgpl-license
  lgpl-license.html
  mainfooter.html
  mainheader.html
  qpl-license.html
  tde-common.css
  tde-default.css
  tde-localised.css
  tde-web.css
  x11-license.html
  xml.dcl
)

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}/ru/common )
endforeach( )

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