Merge pull request #4221 from Jun-T/install-mo

install *.mo files correctly
This commit is contained in:
Justin M. Keyes 2016-02-10 10:37:24 -05:00
commit 9b9695ab8e
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ if(HAVE_WORKING_LIBINTL AND GETTEXT_FOUND AND XGETTEXT_PRG AND ICONV_PRG)
install_helper( install_helper(
FILES ${moFile} FILES ${moFile}
DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${name}/LC_MESSAGES DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/nvim/runtime/lang/${name}/LC_MESSAGES
RENAME nvim.mo) RENAME nvim.mo)
list(APPEND LANGUAGE_MO_FILES ${moFile}) list(APPEND LANGUAGE_MO_FILES ${moFile})

View File

@ -30,7 +30,7 @@ Error: configure did not run properly.Check auto/config.log.
/* Can't use "PACKAGE" here, conflicts with a Perl include file. */ /* Can't use "PACKAGE" here, conflicts with a Perl include file. */
#ifndef VIMPACKAGE #ifndef VIMPACKAGE
# define VIMPACKAGE "vim" # define VIMPACKAGE "nvim"
#endif #endif
#include "nvim/os/os_defs.h" /* bring lots of system header files */ #include "nvim/os/os_defs.h" /* bring lots of system header files */