summaryrefslogtreecommitdiff
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-09 23:55:05 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-23 21:47:27 -0400
commit94e75a54097b32252ef86e9253a288db7529f1ea (patch)
treecddc53ebc24428981faa4df1c395621846bee80c /tmpfiles.d
parent2d9f0c68780b5ea6be92fa247a61688b1e73d28d (diff)
downloadsystemd-94e75a54097b32252ef86e9253a288db7529f1ea.tar.gz
meson: create dirs and touch /usr
This is the equivalent of $(INSTALL_DIRS) and install-touch-usr-hook. I did not bother to create the directories into which we install files, since they will be created anyway. v2: - remove bashism
Diffstat (limited to 'tmpfiles.d')
-rw-r--r--tmpfiles.d/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmpfiles.d/meson.build b/tmpfiles.d/meson.build
index cba5e1781d..36a053bc0e 100644
--- a/tmpfiles.d/meson.build
+++ b/tmpfiles.d/meson.build
@@ -37,3 +37,8 @@ foreach file : m4_files
install : enable_tmpfiles,
install_dir : tmpfilesdir)
endforeach
+
+if enable_tmpfiles
+ meson.add_install_script('sh', '-c',
+ mkdir_p.format(sysconfdir + '/tmpfiles.d'))
+endif