]> git.saurik.com Git - apt.git/blame_incremental - CMake/vendor_substitute.cmake
Japanese manpages translation update
[apt.git] / CMake / vendor_substitute.cmake
... / ...
CommitLineData
1file(READ ${IN} input)
2foreach(variable ${VARS})
3 execute_process(COMMAND ${PROJECT_SOURCE_DIR}/vendor/getinfo
4 --vendor ${CURRENT_VENDOR} ${variable}
5 OUTPUT_VARIABLE value OUTPUT_STRIP_TRAILING_WHITESPACE)
6 string(REPLACE "&${variable};" "${value}" input "${input}")
7endforeach()
8file(WRITE ${OUT} "${input}")