summaryrefslogtreecommitdiff
path: root/src/shutdown/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* meson: Use dicts for test definitionsJan Janssen2023-02-211-4/+7
| | | | | | | Although this slightly more verbose it makes it much easier to reason about. The code that produces the tests heavily benefits from this. Test lists are also now sorted by test name.
* meson: Do not include headers in source listsJan Janssen2023-01-241-3/+1
| | | | | | Meson+ninja+compiler do this for us and are better at it. https://mesonbuild.com/FAQ.html#do-i-need-to-add-my-headers-to-the-sources-list-like-in-autotools
* meson: move files' closing brace to separate lineZbigniew Jędrzejewski-Szmek2022-03-031-1/+2
|
* meson: do not use split() in file listsZbigniew Jędrzejewski-Szmek2022-03-021-5/+4
| | | | | | | | | | | The approach to use '''…'''.split() instead of a list of strings was initially used when converting from automake because it allowed identical blocks of lines to be used for both, making the conversion easier. But over the years we have been using normal lists more and more, especially when there were just a few filenames listed. This converts the rest. No functional change.
* meson: Use files() for testsJan Janssen2022-01-111-3/+3
| | | | | | Not having to provide the full path in the source tree is much nicer and the produced lists can also be used anywhere in the source tree.
* meson: add missing license headerYu Watanabe2021-01-191-0/+2
|
* meson: make the second and third elements of tests or fuzzers optionalYu Watanabe2021-01-191-1/+1
| | | | Then, we can shorten many test definitions.
* test: move test-umount.c to src/shutdownYu Watanabe2021-01-191-0/+8
| | | | Then, we can drop src/shutdown from include directories later.
* shutdown: rearrange shutdown sources in source treeLennart Poettering2019-03-051-0/+5
Let's move the shutdown binary into its own subdirectory in src/shutdown, after all it is relatively isolated from the normal PID 1 sources, being a different binary and all. Unfortunately it's not possible to move some of the code, since it is shared with PID 1, that I wished we could move, but I still think it's worth it.