misc: Clean up repository root.

This is the first in a series for cleaning up the top directory (root)
of the repository and move various files/folders into nicely organized
directory structures.

GitLab: #749
Change-Id: If59b74fff981df242bc26e62a070bdb81d7baded
This commit is contained in:
Amin Bandali
2022-09-19 11:19:49 -04:00
parent cbbe048303
commit 2fc8661d08
45 changed files with 343 additions and 596 deletions

View File

@@ -0,0 +1,21 @@
if (EXISTS ${TIME_STAMP_FILE})
message("No need for daemon deployment")
else()
message("Daemon deploying ...")
file(COPY "${DRING_PATH}/contrib/build/openssl/libcrypto-1_1-x64.dll"
"${DRING_PATH}/contrib/build/openssl/libssl-1_1-x64.dll"
"${PACKAGING_DIR}/wix/qt.conf"
"${PROJECT_ROOT_DIR}/resources/images/jami.ico"
"${PACKAGING_DIR}/wix/License.rtf"
DESTINATION ${COPY_TO_PATH})
# Cannot copy symbolic link using file COPY, create insread.
file(GLOB_RECURSE RingTones "${DRING_PATH}/ringtones/*.ul"
"${DRING_PATH}/ringtones/*.ogg"
"${DRING_PATH}/ringtones/*.wav"
"${DRING_PATH}/ringtones/*.opus")
list(REMOVE_ITEM RingTones "${DRING_PATH}/ringtones/default.opus")
file(COPY ${RingTones}
DESTINATION ${COPY_TO_PATH}/ringtones)
file(CREATE_LINK "${COPY_TO_PATH}/ringtones/01_AfroNigeria.opus"
"${COPY_TO_PATH}/ringtones/default.opus")
endif()