mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Drop intltool in favour or using modern gettext
This requires at least gettext 0.19.6, and will break our ubuntu 14.04LTS test instance on Travis. The next commit will work around this.
This commit is contained in:
@@ -11,17 +11,9 @@ macro(add_gschema_targets _gschema_INPUTS)
|
||||
SET(CMAKE_COMMAND_TMP ${CMAKE_COMMAND} -E env)
|
||||
ENDIF()
|
||||
FOREACH(file ${_gschema_INPUTS})
|
||||
configure_file(${file}.in.in ${file}.in @ONLY)
|
||||
|
||||
set(_OUTPUT_FILE ${DATADIR_BUILD}/glib-2.0/schemas/${file})
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${_OUTPUT_FILE}
|
||||
COMMAND ${CMAKE_COMMAND_TMP}
|
||||
LC_ALL=C
|
||||
${PERL_EXECUTABLE} ${INTLTOOL_MERGE} -x -u ${INITTOOL_OPTIONS} ${CMAKE_CURRENT_BINARY_DIR}/${file}.in ${_OUTPUT_FILE}
|
||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${file}.in
|
||||
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/${file}.in.in
|
||||
)
|
||||
configure_file(${file}.in ${_OUTPUT_FILE} @ONLY)
|
||||
list(APPEND _gschema_OUTPUTS ${_OUTPUT_FILE})
|
||||
|
||||
string(REPLACE ".xml" ".valid" file_no_xml ${file})
|
||||
|
||||
Reference in New Issue
Block a user