Skip to content

Commit

Permalink
refactor: remove configure to assets
Browse files Browse the repository at this point in the history
Log:
Change-Id: Icd16bf644578f911e329be0b9de926ce07945bad
  • Loading branch information
deepin-mozart committed Jan 16, 2024
1 parent 33a3af1 commit f4fc9ef
Show file tree
Hide file tree
Showing 19 changed files with 12 additions and 2 deletions.
13 changes: 12 additions & 1 deletion assets/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# install templates.
install(DIRECTORY templates/
DESTINATION "${SOURCES_INSTALL_RPEFIX}/templates")

find_package(Qt5 COMPONENTS LinguistTools)


# install translation.
if (CMAKE_BUILD_TYPE STREQUAL "Release")
file(GLOB TS_FILES "translations/*.ts")
foreach(TS_FILE IN LISTS TS_FILES)
Expand Down Expand Up @@ -35,3 +36,13 @@ message("tool install path: ${TOOL_INSTALL_PATH}")
file(GLOB TOOL_FILES "${CMAKE_SOURCE_DIR}/assets/tools/*.tar.gz")
message(STATUS "TOOL_FILES ${TOOL_FILES}")
install(FILES ${TOOL_FILES} DESTINATION ${TOOL_INSTALL_PATH})

# install configure files.
file(GLOB SUPPORTFILES "${CMAKE_CURRENT_SOURCE_DIR}/configures/*.support")
file(GLOB DESKTOPFILES "${CMAKE_CURRENT_SOURCE_DIR}/configures/*.desktop")
file(GLOB ICON "${CMAKE_CURRENT_SOURCE_DIR}/configures/*.svg")

install(FILES ${SUPPORTFILES} DESTINATION "${SOURCES_INSTALL_RPEFIX}/configures")
install(FILES ${DESKTOPFILES} DESTINATION "/usr/share/applications")
install(FILES ${ICON} DESTINATION "${SOURCES_INSTALL_RPEFIX}/configures/icons")

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ add_subdirectory(common)
add_subdirectory(plugins)
add_subdirectory(services)
add_subdirectory(scripts)
add_subdirectory(configures)
add_subdirectory(tools)

0 comments on commit f4fc9ef

Please sign in to comment.