Warning, /frameworks/kdoctools/common/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # install common files for all languages
0002 foreach( _kdoctoolscommon_currentlang ${KDOCTOOLS_LANGUAGES_LIST})
0003 file( GLOB _kdoctoolscommon_lang_allfiles "${_kdoctoolscommon_currentlang}/*" )
0004 install(FILES ${_kdoctoolscommon_lang_allfiles} DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/${_kdoctoolscommon_currentlang}/kdoctools6-common)
0005 endforeach()
0006
0007 # add English version of the -translated files, so that
0008 # help:/kdoctools6-common/gpl-translated.html always works even
0009 # if the translated file for the current language does not exist,
0010 # thanks to kio_help's fallback on the English version.
0011 set (_basetranslatedlicenses fdl gpl lgpl)
0012 foreach (_licenseprefix ${_basetranslatedlicenses})
0013 install(FILES en/${_licenseprefix}-license.html DESTINATION
0014 ${KDE_INSTALL_DOCBUNDLEDIR}/en/kdoctools6-common/
0015 RENAME ${_licenseprefix}-translated.html)
0016 endforeach()
0017