Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 905698 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/linguist/Qt5LinguistToolsMacros.cmake (+7 lines)
Lines 96-101 Link Here
96
          file(WRITE ${_ts_lst_file} "${_lst_file_srcs}")
96
          file(WRITE ${_ts_lst_file} "${_lst_file_srcs}")
97
        endif()
97
        endif()
98
        set(stamp_file "${stamp_file_dir}/${_ts_name}.stamp")
98
        set(stamp_file "${stamp_file_dir}/${_ts_name}.stamp")
99
        file(RELATIVE_PATH _ts_relative_path ${CMAKE_CURRENT_SOURCE_DIR} ${_ts_file})
100
        string(REPLACE "../" "__/" _ts_relative_path "${_ts_relative_path}")
101
        set(stamp_file "${stamp_file_dir}/${_ts_relative_path}.stamp")
102
        get_filename_component(full_stamp_file_dir "${stamp_file}" DIRECTORY)
103
        if(NOT EXISTS "${full_stamp_file_dir}")
104
            file(MAKE_DIRECTORY "${full_stamp_file_dir}")
105
        endif()
99
        add_custom_command(OUTPUT ${stamp_file}
106
        add_custom_command(OUTPUT ${stamp_file}
100
            COMMAND ${Qt5_LUPDATE_EXECUTABLE}
107
            COMMAND ${Qt5_LUPDATE_EXECUTABLE}
101
            ARGS ${_lupdate_options} "@${_ts_lst_file}" -ts ${_ts_file}
108
            ARGS ${_lupdate_options} "@${_ts_lst_file}" -ts ${_ts_file}

Return to bug 905698