summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorJan Rybar <jrybar@redhat.com>2020-10-26 17:00:27 +0000
committerJan Rybar <jrybar@redhat.com>2020-10-26 17:00:27 +0000
commit957a015157fd359d9679540f664183e4b9492896 (patch)
tree41e7f5541d01e479e588cd3dd5a1769e1af0127a /actions
parentff4c2144f0fb1325275887d9e254117fcd8a1b52 (diff)
downloadpolkit-957a015157fd359d9679540f664183e4b9492896.tar.gz
build: Port to meson build system
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools.
Diffstat (limited to 'actions')
-rw-r--r--actions/Makefile.am5
-rw-r--r--actions/meson.build10
2 files changed, 14 insertions, 1 deletions
diff --git a/actions/Makefile.am b/actions/Makefile.am
index 4498f4a..1709992 100644
--- a/actions/Makefile.am
+++ b/actions/Makefile.am
@@ -13,6 +13,9 @@ clean-local :
DISTCLEANFILES = org.freedesktop.policykit.policy
-EXTRA_DIST = org.freedesktop.policykit.policy.in
+EXTRA_DIST = \
+ org.freedesktop.policykit.policy.in \
+ meson.build \
+ $(NULL)
-include $(top_srcdir)/git.mk
diff --git a/actions/meson.build b/actions/meson.build
new file mode 100644
index 0000000..26d2d2d
--- /dev/null
+++ b/actions/meson.build
@@ -0,0 +1,10 @@
+policy = 'org.freedesktop.policykit.policy'
+
+custom_target(
+ policy,
+ input: policy + '.in',
+ output: '@BASENAME@',
+ command: intltool_xml_cmd,
+ install: true,
+ install_dir: pk_pkgactiondir,
+)