summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2019-04-01 23:31:47 +0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-02 07:53:32 +0200
commit509276f2b7d44d472b66e79cbfa531c1de4c3801 (patch)
treec19ae941f3e32a000bd90d2614ce55f599725969
parent3f8f021541c58ca2fd8d05b7808c7395b90d6937 (diff)
downloadsystemd-509276f2b7d44d472b66e79cbfa531c1de4c3801.tar.gz
build: install /etc/systemd/{system,user}-generators
Manual page systemd.generators refers to /etc/systemd/{system,user}-generators, but the paths do not exist, so let's install them.
-rw-r--r--meson.build2
-rw-r--r--src/core/meson.build2
2 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index e446fe7370..b030660195 100644
--- a/meson.build
+++ b/meson.build
@@ -133,6 +133,8 @@ networkdir = join_paths(rootprefixdir, 'lib/systemd/network')
pkgincludedir = join_paths(includedir, 'systemd')
systemgeneratordir = join_paths(rootlibexecdir, 'system-generators')
usergeneratordir = join_paths(prefixdir, 'lib/systemd/user-generators')
+pkgsysconfsystemgeneratordir = join_paths(pkgsysconfdir, 'system-generators')
+pkgsysconfusergeneratordir = join_paths(pkgsysconfdir, 'user-generators')
systemenvgeneratordir = join_paths(prefixdir, 'lib/systemd/system-environment-generators')
userenvgeneratordir = join_paths(prefixdir, 'lib/systemd/user-environment-generators')
systemshutdowndir = join_paths(rootlibexecdir, 'system-shutdown')
diff --git a/src/core/meson.build b/src/core/meson.build
index 86ab35d818..d850e106a3 100644
--- a/src/core/meson.build
+++ b/src/core/meson.build
@@ -211,6 +211,8 @@ meson.add_install_script('sh', '-c', mkdir_p.format(systemshutdowndir))
meson.add_install_script('sh', '-c', mkdir_p.format(systemsleepdir))
meson.add_install_script('sh', '-c', mkdir_p.format(systemgeneratordir))
meson.add_install_script('sh', '-c', mkdir_p.format(usergeneratordir))
+meson.add_install_script('sh', '-c', mkdir_p.format(pkgsysconfsystemgeneratordir))
+meson.add_install_script('sh', '-c', mkdir_p.format(pkgsysconfusergeneratordir))
meson.add_install_script('sh', '-c',
mkdir_p.format(join_paths(pkgsysconfdir, 'system/multi-user.target.wants')))