]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
CMake: Update the comment at the top of CMakeLists.txt
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 2 Jul 2024 17:19:47 +0000 (20:19 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 2 Jul 2024 19:41:48 +0000 (22:41 +0300)
While po/*.gmo files won't be used from the release tarball,
the generated translated man pages will be used still. Those
are text files and po4a has slightly more dependencies than
gettext tools so installing po4a might be a bit more challenging
in some situations.

CMakeLists.txt

index 3612dc943dc87738f934766964d4f8d2d4276ffb..6a64fd31757e6229e9153b61a8fbd247f2e9a51a 100644 (file)
 #
 #   - Generated liblzma.pc won't be relocatable.
 #
+# To get translated messages, install GNU gettext tools (the command msgfmt
+# is needed). Alternatively disable translations by setting XZ_NLS=OFF.
+#
+# If building from xz.git instead of a release tarball: To generate
+# translated man pages, run po4a/update-po which requires the po4a tool.
+# The build works without this step too.
+#
 # About CMAKE_BUILD_TYPE:
 #
 #   - CMake's standard choices are fine to use for production builds,
 #     SHOULD BE AVOIDED FOR PRODUCTION BUILDS. Or at least one
 #     should remember to add -DNDEBUG.
 #
-# If building from xz.git instead of a release tarball, consider
-# the following *before* running cmake:
-#
-#   - To get translated messages, install GNU gettext tools (the
-#     command msgfmt is needed). Alternatively disable translations
-#     by setting XZ_NLS=OFF.
-#
-#   - To get translated man pages, run po4a/update-po which requires
-#     the po4a tool. The build works without this step too.
-#
 # This file provides the following installation components (if you only
 # need liblzma, install only its components!):
 #   - liblzma_Runtime (shared library only)