Quanta: Change CMake rules to make tarballs for toolbars created during building.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 6 years ago
parent 1e75068328
commit 8155faa4ac
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -3,22 +3,29 @@
# (C) 2010-2011 Serghei Amelian # (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com # serghei (DOT) amelian (AT) gmail.com
# #
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome # Improvements and feedback are welcome
# #
# This file is released under GPL >= 2 # This file is released under GPL >= 2
# #
################################################# #################################################
add_subdirectory( html )
add_subdirectory( xml ) ##### other data ################################
add_subdirectory( wml-1-2 )
add_subdirectory( tagxml ) foreach( _toolbar debug )
add_subdirectory( schema )
add_subdirectory( cfml ) tde_create_tarball(
add_subdirectory( kde-docbook ) TARGET ${_toolbar}.toolbar.tgz
add_subdirectory( docbook ) FILES ${_toolbar}.actions ${_toolbar}.toolbar
add_subdirectory( css ) DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars
)
install( FILES
debug.toolbar.tgz endforeach( )
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars )
##### directories ###############################
tde_auto_add_subdirectories( )

@ -3,14 +3,24 @@
# (C) 2010-2011 Serghei Amelian # (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com # serghei (DOT) amelian (AT) gmail.com
# #
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome # Improvements and feedback are welcome
# #
# This file is released under GPL >= 2 # This file is released under GPL >= 2
# #
################################################# #################################################
install( FILES
fonts.toolbar.tgz forms.toolbar.tgz ##### other data ################################
lists.toolbar.tgz standard.toolbar.tgz
tables.toolbar.tgz cfml.toolbar.tgz foreach( _toolbar cfml fonts forms lists standard tables )
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/cfml )
tde_create_tarball(
TARGET ${_toolbar}.toolbar.tgz
FILES ${_toolbar}.actions ${_toolbar}.toolbar
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/cfml
)
endforeach( )

@ -3,12 +3,24 @@
# (C) 2010-2011 Serghei Amelian # (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com # serghei (DOT) amelian (AT) gmail.com
# #
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome # Improvements and feedback are welcome
# #
# This file is released under GPL >= 2 # This file is released under GPL >= 2
# #
################################################# #################################################
install( FILES
css.toolbar.tgz ##### other data ################################
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/css )
foreach( _toolbar css )
tde_create_tarball(
TARGET ${_toolbar}.toolbar.tgz
FILES ${_toolbar}.actions ${_toolbar}.toolbar
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/css
)
endforeach( )

@ -3,13 +3,24 @@
# (C) 2010-2011 Serghei Amelian # (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com # serghei (DOT) amelian (AT) gmail.com
# #
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome # Improvements and feedback are welcome
# #
# This file is released under GPL >= 2 # This file is released under GPL >= 2
# #
################################################# #################################################
install( FILES
xmltools.toolbar.tgz docbook_code.toolbar.tgz ##### other data ################################
docbook_ui.toolbar.tgz docbook_xml.toolbar.tgz
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/docbook ) foreach( _toolbar docbook_code docbook_ui docbook_xml xmltools )
tde_create_tarball(
TARGET ${_toolbar}.toolbar.tgz
FILES ${_toolbar}.actions ${_toolbar}.toolbar
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/docbook
)
endforeach( )

@ -3,13 +3,24 @@
# (C) 2010-2011 Serghei Amelian # (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com # serghei (DOT) amelian (AT) gmail.com
# #
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome # Improvements and feedback are welcome
# #
# This file is released under GPL >= 2 # This file is released under GPL >= 2
# #
################################################# #################################################
install( FILES
forms.toolbar.tgz lists.toolbar.tgz other.toolbar.tgz ##### other data ################################
standard.toolbar.tgz tables.toolbar.tgz style.toolbar.tgz
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/html ) foreach( _toolbar forms lists other standard style tables )
tde_create_tarball(
TARGET ${_toolbar}.toolbar.tgz
FILES ${_toolbar}.actions ${_toolbar}.toolbar
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/html
)
endforeach( )

@ -3,18 +3,31 @@
# (C) 2010-2011 Serghei Amelian # (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com # serghei (DOT) amelian (AT) gmail.com
# #
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome # Improvements and feedback are welcome
# #
# This file is released under GPL >= 2 # This file is released under GPL >= 2
# #
################################################# #################################################
install( FILES
kde-docbook-admonitions.toolbar.tgz ##### other data ################################
kde-docbook-images.toolbar.tgz
kde-docbook-list.toolbar.tgz foreach( _toolbar
kde-docbook-standard.toolbar.tgz kde-docbook-admonitions
kde-docbook-tables.toolbar.tgz kde-docbook-images
kde-docbook-uielements.toolbar.tgz kde-docbook-list
kdexmltools.toolbar.tgz kde-docbook-standard
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/kde-docbook ) kde-docbook-tables
kde-docbook-uielements
kdexmltools )
tde_create_tarball(
TARGET ${_toolbar}.toolbar.tgz
FILES ${_toolbar}.actions ${_toolbar}.toolbar
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/kde-docbook
)
endforeach( )

@ -3,15 +3,24 @@
# (C) 2010-2011 Serghei Amelian # (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com # serghei (DOT) amelian (AT) gmail.com
# #
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome # Improvements and feedback are welcome
# #
# This file is released under GPL >= 2 # This file is released under GPL >= 2
# #
################################################# #################################################
install( FILES
attributes.toolbar.tgz complex.toolbar.tgz ##### other data ################################
documentation.toolbar.tgz facets.toolbar.tgz
misc.toolbar.tgz simple.toolbar.tgz foreach( _toolbar attributes complex documentation facets main misc simple )
main.toolbar.tgz
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/schema ) tde_create_tarball(
TARGET ${_toolbar}.toolbar.tgz
FILES ${_toolbar}.actions ${_toolbar}.toolbar
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/schema
)
endforeach( )

@ -3,12 +3,24 @@
# (C) 2010-2011 Serghei Amelian # (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com # serghei (DOT) amelian (AT) gmail.com
# #
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome # Improvements and feedback are welcome
# #
# This file is released under GPL >= 2 # This file is released under GPL >= 2
# #
################################################# #################################################
install( FILES
tagxml.toolbar.tgz ##### other data ################################
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/tagxml )
foreach( _toolbar tagxml )
tde_create_tarball(
TARGET ${_toolbar}.toolbar.tgz
FILES ${_toolbar}.actions ${_toolbar}.toolbar
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/tagxml
)
endforeach( )

@ -3,13 +3,24 @@
# (C) 2010-2011 Serghei Amelian # (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com # serghei (DOT) amelian (AT) gmail.com
# #
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome # Improvements and feedback are welcome
# #
# This file is released under GPL >= 2 # This file is released under GPL >= 2
# #
################################################# #################################################
install( FILES
deck.toolbar.tgz forms.toolbar.tgz misc.toolbar.tgz ##### other data ################################
table.toolbar.tgz tasks.toolbar.tgz text.toolbar.tgz
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/wml-1-2 ) foreach( _toolbar deck forms misc table tasks text )
tde_create_tarball(
TARGET ${_toolbar}.toolbar.tgz
FILES ${_toolbar}.actions ${_toolbar}.toolbar
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/wml-1-2
)
endforeach( )

@ -3,12 +3,24 @@
# (C) 2010-2011 Serghei Amelian # (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com # serghei (DOT) amelian (AT) gmail.com
# #
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome # Improvements and feedback are welcome
# #
# This file is released under GPL >= 2 # This file is released under GPL >= 2
# #
################################################# #################################################
install( FILES
fonts.toolbar.tgz ##### other data ################################
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/xml )
foreach( _toolbar fonts )
tde_create_tarball(
TARGET ${_toolbar}.toolbar.tgz
FILES ${_toolbar}.actions ${_toolbar}.toolbar
DESTINATION ${DATA_INSTALL_DIR}/quanta/toolbars/xml
)
endforeach( )

Loading…
Cancel
Save