Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 2bf2dba4 authored by Christoph Cullmann's avatar Christoph Cullmann

outsort the xml syntax files...

svn path=/trunk/KDE/kdelibs/kate/; revision=669045
parent cd7ed15b
......@@ -3,6 +3,7 @@ project(kate)
# this subdirs have own CMakeLists
add_subdirectory( data )
add_subdirectory( syntax/data )
add_subdirectory( scripts )
add_subdirectory( plugins )
add_subdirectory( tests )
......
########### install files ###############
add_custom_target(GeneratePhpXmlFiles ALL DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/css-php.xml
${CMAKE_CURRENT_BINARY_DIR}/html-php.xml
${CMAKE_CURRENT_BINARY_DIR}/javascript-php.xml )
macro(GENERATE_PHP_XML targetFile srcFile)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${targetFile}
COMMAND ${PERL_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/generate-php.pl < ${CMAKE_CURRENT_SOURCE_DIR}/${srcFile} > ${CMAKE_CURRENT_BINARY_DIR}/${targetFile}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${srcFile} )
endmacro(GENERATE_PHP_XML)
generate_php_xml(javascript-php.xml javascript.xml)
generate_php_xml(css-php.xml css.xml)
generate_php_xml(html-php.xml html.xml)
file(GLOB HIGHLIGHTERS "${CMAKE_CURRENT_SOURCE_DIR}/*.xml")
install( FILES katesyntaxhighlightingrc DESTINATION ${CONFIG_INSTALL_DIR} )
install( FILES katepartui.rc katepartreadonlyui.rc DESTINATION ${DATA_INSTALL_DIR}/katepart )
install( FILES katepart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES language.dtd syntax.template ${HIGHLIGHTERS}
${CMAKE_CURRENT_BINARY_DIR}/html-php.xml ${CMAKE_CURRENT_BINARY_DIR}/css-php.xml ${CMAKE_CURRENT_BINARY_DIR}/javascript-php.xml
DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax)
install( FILES katepart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
\ No newline at end of file
########### install files ###############
add_custom_target(GeneratePhpXmlFiles ALL DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/css-php.xml
${CMAKE_CURRENT_BINARY_DIR}/html-php.xml
${CMAKE_CURRENT_BINARY_DIR}/javascript-php.xml )
macro(GENERATE_PHP_XML targetFile srcFile)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${targetFile}
COMMAND ${PERL_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/generate-php.pl < ${CMAKE_CURRENT_SOURCE_DIR}/${srcFile} > ${CMAKE_CURRENT_BINARY_DIR}/${targetFile}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${srcFile} )
endmacro(GENERATE_PHP_XML)
generate_php_xml(javascript-php.xml javascript.xml)
generate_php_xml(css-php.xml css.xml)
generate_php_xml(html-php.xml html.xml)
file(GLOB HIGHLIGHTERS "${CMAKE_CURRENT_SOURCE_DIR}/*.xml")
install( FILES katesyntaxhighlightingrc DESTINATION ${CONFIG_INSTALL_DIR} )
install( FILES language.dtd syntax.template ${HIGHLIGHTERS}
${CMAKE_CURRENT_BINARY_DIR}/html-php.xml ${CMAKE_CURRENT_BINARY_DIR}/css-php.xml ${CMAKE_CURRENT_BINARY_DIR}/javascript-php.xml
DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax)
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment