WIP: Configure gpgagent.tab for build and install trees

This commit is contained in:
Brad King 2012-06-14 08:53:26 -04:00
parent 6e1ef8e7fd
commit c4cdbce42c
2 changed files with 5 additions and 2 deletions

View File

@ -393,8 +393,11 @@ foreach(f
endforeach()
install(FILES ${files} DESTINATION .)
set(GTM_TOP "${GTM_BINARY_DIR}")
configure_file(sr_unix/gpgagent.tab.in plugin/gpgagent.tab @ONLY)
install(FILES ${GTM_BINARY_DIR}/plugin/gpgagent.tab DESTINATION plugin)
set(GTM_TOP "${CMAKE_INSTALL_PREFIX}")
configure_file(sr_unix/gpgagent.tab.in CMakeFiles/plugin/gpgagent.tab @ONLY)
install(FILES ${GTM_BINARY_DIR}/CMakeFiles/plugin/gpgagent.tab DESTINATION plugin)
add_custom_target(place_files ALL DEPENDS ${files_to_place})

View File

@ -1,2 +1,2 @@
@CMAKE_INSTALL_PREFIX@/plugin/libgtmcrypt.so
@GTM_TOP@/plugin/libgtmcrypt.so
unmaskpwd: xc_status_t gc_pk_mask_unmask_passwd_interlude(I:xc_string_t*,O:xc_string_t*[512],I:xc_int_t)