summaryrefslogtreecommitdiffstats
path: root/reader/data/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-06-22 21:28:13 +0900
committerMichele Calgaro <[email protected]>2024-06-22 21:28:13 +0900
commitcd87a41ab9bfa2207b41a6117e6fe9aea2075143 (patch)
tree21f426dfe48428c677eb245428a87ec06a034213 /reader/data/CMakeLists.txt
parent17b259df9cb6b28779d4881b2b6c805ee2e48eea (diff)
downloadtde-ebook-reader-cd87a41ab9bfa2207b41a6117e6fe9aea2075143.tar.gz
tde-ebook-reader-cd87a41ab9bfa2207b41a6117e6fe9aea2075143.zip
Add tde-ebook-reader package
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'reader/data/CMakeLists.txt')
-rw-r--r--reader/data/CMakeLists.txt49
1 files changed, 49 insertions, 0 deletions
diff --git a/reader/data/CMakeLists.txt b/reader/data/CMakeLists.txt
new file mode 100644
index 0000000..bbd3519
--- /dev/null
+++ b/reader/data/CMakeLists.txt
@@ -0,0 +1,49 @@
+##### default files
+
+file( GLOB _default_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/default/*.xml )
+install(
+ FILES ${_default_files}
+ DESTINATION ${DATA_INSTALL_DIR}/tde-ebook-reader/default
+)
+
+
+##### format files
+
+file( GLOB _formats_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/formats/fb2/* )
+install(
+ FILES ${_formats_files}
+ DESTINATION ${DATA_INSTALL_DIR}/tde-ebook-reader/formats/fb2
+)
+
+file( GLOB _formats_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/formats/html/* )
+install(
+ FILES ${_formats_files}
+ DESTINATION ${DATA_INSTALL_DIR}/tde-ebook-reader/formats/html
+)
+
+
+##### help files
+
+file( GLOB _help_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/help/*.fb2 )
+install(
+ FILES ${_help_files}
+ DESTINATION ${DATA_INSTALL_DIR}/tde-ebook-reader/help
+)
+
+
+##### icons files
+
+file( GLOB_RECURSE _icon_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/icons/*)
+install(
+ FILES ${_icon_files}
+ DESTINATION ${DATA_INSTALL_DIR}/tde-ebook-reader/icons
+)
+
+
+##### resource files
+
+file( GLOB _xml_resource_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/resources/*.xml )
+install(
+ FILES ${_xml_resource_files}
+ DESTINATION ${DATA_INSTALL_DIR}/tde-ebook-reader/resources
+)