From aa1d9a1807198bfb17f0da38164aeed260db8713 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Sun, 17 May 2015 14:45:30 -0400 Subject: Build: Use GNUInstallDirs, install man pages #2649 For now, only install man pages matching "nvim*.1": we don't want to install xxd.1 as it might conflict with that of a user's Vim installation. closes #1826 Reviewed-by: Florian Walch Helped-by: John Szakmeister --- src/nvim/po/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/po/CMakeLists.txt b/src/nvim/po/CMakeLists.txt index 443f3c6595..243ac19b33 100644 --- a/src/nvim/po/CMakeLists.txt +++ b/src/nvim/po/CMakeLists.txt @@ -72,7 +72,7 @@ if(HAVE_WORKING_LIBINTL AND GETTEXT_FOUND AND XGETTEXT_PRG AND ICONV_PRG) install_helper( FILES ${moFile} - DESTINATION share/locale/${name}/LC_MESSAGES + DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${name}/LC_MESSAGES RENAME nvim.mo) list(APPEND LANGUAGE_MO_FILES ${moFile}) -- cgit