Generate plugin/gtmcrypt/source.tar
This commit is contained in:
parent
fb12b8cea8
commit
68f30307f9
|
@ -298,22 +298,34 @@ set_target_properties(maskpass PROPERTIES
|
||||||
install(TARGETS maskpass DESTINATION ${GTM_INSTALL_DIR}/plugin/gtmcrypt)
|
install(TARGETS maskpass DESTINATION ${GTM_INSTALL_DIR}/plugin/gtmcrypt)
|
||||||
|
|
||||||
# these files need to end up in ${GTM_INSTALL_DIR}/plugin/gtmcrypt/source.tar
|
# these files need to end up in ${GTM_INSTALL_DIR}/plugin/gtmcrypt/source.tar
|
||||||
#foreach(encryptsource
|
set(gtmcrypt_source_tar
|
||||||
# gtmcrypt_ref.c
|
gtmcrypt_ref.c
|
||||||
# gtmcrypt_ref.h
|
gtmcrypt_ref.h
|
||||||
# gtmcrypt_interface.h
|
gtmcrypt_interface.h
|
||||||
# gtmxc_types.h
|
gtmxc_types.h
|
||||||
# maskpass.c
|
maskpass.c
|
||||||
# gtmcrypt_dbk_ref.c
|
gtmcrypt_dbk_ref.c
|
||||||
# gtmcrypt_dbk_ref.h
|
gtmcrypt_dbk_ref.h
|
||||||
# gtmcrypt_pk_ref.c
|
gtmcrypt_pk_ref.c
|
||||||
# gtmcrypt_pk_ref.h
|
gtmcrypt_pk_ref.h
|
||||||
# gtmcrypt_sym_ref.h
|
gtmcrypt_sym_ref.h
|
||||||
# install.sh
|
install.sh
|
||||||
# build.sh
|
build.sh
|
||||||
# pinentry.m
|
pinentry.m
|
||||||
# )
|
)
|
||||||
#endforeach()
|
foreach(f ${gtmcrypt_source_tar})
|
||||||
|
list(APPEND gtmcrypt_source_tar_depends ${GTM_SOURCE_DIR}/sr_unix/${f})
|
||||||
|
endforeach()
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT plugin/gtmcrypt/source.tar
|
||||||
|
DEPENDS ${gtmcrypt_source_tar_depends}
|
||||||
|
COMMAND tar cf ${GTM_BINARY_DIR}/plugin/gtmcrypt/source.tar ${gtmcrypt_source_tar}
|
||||||
|
WORKING_DIRECTORY ${GTM_SOURCE_DIR}/sr_unix
|
||||||
|
VERBATIM
|
||||||
|
)
|
||||||
|
list(APPEND files_to_place plugin/gtmcrypt/source.tar)
|
||||||
|
install(FILES ${GTM_BINARY_DIR}/plugin/gtmcrypt/source.tar
|
||||||
|
DESTINATION ${GTM_INSTALL_DIR}/plugin/gtmcrypt)
|
||||||
|
|
||||||
foreach(f
|
foreach(f
|
||||||
add_db_key.sh
|
add_db_key.sh
|
||||||
|
|
Loading…
Reference in New Issue