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)
|
||||
|
||||
# these files need to end up in ${GTM_INSTALL_DIR}/plugin/gtmcrypt/source.tar
|
||||
#foreach(encryptsource
|
||||
# gtmcrypt_ref.c
|
||||
# gtmcrypt_ref.h
|
||||
# gtmcrypt_interface.h
|
||||
# gtmxc_types.h
|
||||
# maskpass.c
|
||||
# gtmcrypt_dbk_ref.c
|
||||
# gtmcrypt_dbk_ref.h
|
||||
# gtmcrypt_pk_ref.c
|
||||
# gtmcrypt_pk_ref.h
|
||||
# gtmcrypt_sym_ref.h
|
||||
# install.sh
|
||||
# build.sh
|
||||
# pinentry.m
|
||||
# )
|
||||
#endforeach()
|
||||
set(gtmcrypt_source_tar
|
||||
gtmcrypt_ref.c
|
||||
gtmcrypt_ref.h
|
||||
gtmcrypt_interface.h
|
||||
gtmxc_types.h
|
||||
maskpass.c
|
||||
gtmcrypt_dbk_ref.c
|
||||
gtmcrypt_dbk_ref.h
|
||||
gtmcrypt_pk_ref.c
|
||||
gtmcrypt_pk_ref.h
|
||||
gtmcrypt_sym_ref.h
|
||||
install.sh
|
||||
build.sh
|
||||
pinentry.m
|
||||
)
|
||||
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
|
||||
add_db_key.sh
|
||||
|
|
Loading…
Reference in New Issue