diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-10 05:55:05 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-24 03:47:27 +0200 |
commit | 94e75a54097b32252ef86e9253a288db7529f1ea (patch) | |
tree | cddc53ebc24428981faa4df1c395621846bee80c /tmpfiles.d | |
parent | meson: add unit installation symlinks (diff) | |
download | systemd-94e75a54097b32252ef86e9253a288db7529f1ea.tar.xz systemd-94e75a54097b32252ef86e9253a288db7529f1ea.zip |
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.build | 5 |
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 |