]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - po/meson.build
sd-bus: fix a memory leak in message_new_reply() (#7636)
[thirdparty/systemd.git] / po / meson.build
index f89291bfc43571e2b54606ed3549d2c2e541abfe..7ba08fba18bcb69fd3e78c2043a7754cf2a6f4bd 100644 (file)
@@ -1,12 +1,21 @@
-i18n = import('i18n')
-i18n.gettext(meson.project_name())
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# Copyright 2017 Zbigniew JÄ™drzejewski-Szmek
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# systemd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with systemd; If not, see <http://www.gnu.org/licenses/>.
 
-#####################################################################
+i18n = import('i18n')
+i18n.gettext(meson.project_name(), preset: 'glib')
 
-intltool_merge = find_program('intltool-merge')
 po_dir = meson.current_source_dir()
-
-intltool_cache = join_paths(meson.current_build_dir(), 'intltool-merge-cache')
-intltool_command = [intltool_merge, '-x', '-u',
-                    '-c', intltool_cache,
-                    po_dir, '@INPUT@', '@OUTPUT@']