meson/mesonbuild
Eli Schwartz 108bd996ee
add install_emptydir function
This replaces the absolute hack of using

```
install_subdir('nonexisting', install_dir: 'share')
```

which requires you to make sure you don't accidentally or deliberately
have a completely different directory with the same name in your source
tree that is full of files you don't want installed. It also avoids
splitting the name in two and listing them in the wrong order.

You can also set the install mode of each directory component by listing
them one at a time in order, and in fact create nested structures at
all.

Fixes #1604
Properly fixes #2904
2021-10-08 14:35:00 -04:00
..
ast add install_emptydir function 2021-10-08 14:35:00 -04:00
backend add install_emptydir function 2021-10-08 14:35:00 -04:00
cmake cmake: handle arguments in the [binaries] section of the machine file 2021-10-08 20:09:43 +02:00
compilers clike compilers: drop semicolon at function end 2021-10-07 09:42:52 -07:00
dependencies cmake: Implement support for interpreting link "keywords" 2021-10-06 16:43:59 +02:00
interpreter add install_emptydir function 2021-10-08 14:35:00 -04:00
interpreterbase interpreter: Move RangeHolder out of interpreterbase to interpreter 2021-10-06 22:37:18 +02:00
linkers fix typo in error message breaking newline escape 2021-10-03 18:53:32 -07:00
mesonlib mesonlib: ConfigurationData can also be a `Dict[str, Tuple[Str, Optional[str]]]` 2021-10-04 19:33:43 -07:00
modules modules/gnome: Fix unset install_dir 2021-10-08 08:44:30 -04:00
scripts fix extra whitespace 2021-10-04 16:29:31 -04:00
templates editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
wrap wrap clone: be less noisy when doing automated code checkouts 2021-10-04 22:48:09 -04:00
__init__.py Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir. 2016-01-16 17:35:29 +02:00
_pathlib.py pathlib: Patch pathlib to work around some bugs (fixes #7295) 2021-06-29 11:28:08 +02:00
_typing.py summary: fix dependencies 2021-09-07 14:18:58 -04:00
arglist.py mass rewrite of string formatting to use f-strings everywhere 2021-03-04 17:16:11 -05:00
build.py add install_emptydir function 2021-10-08 14:35:00 -04:00
coredata.py remove useless variables that are no longer or were never used 2021-10-04 16:29:31 -04:00
depfile.py stabilize sets that are converted to lists 2020-11-15 14:21:31 +01:00
envconfig.py holders: Introduce HoldableObject 2021-06-18 23:48:33 +02:00
environment.py fix extra whitespace 2021-10-04 16:29:31 -04:00
mcompile.py mcompile: treat load-average as a float 2021-08-29 22:19:52 -04:00
mconf.py remove f from f-string that has no formatting 2021-10-04 16:29:31 -04:00
mdevenv.py cleanup self.options.wd 2021-07-07 18:00:37 +02:00
mdist.py mdist: use git archive with git repositories for correctness 2021-09-03 14:14:15 -04:00
mesondata.py fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
mesonmain.py pylint: turn on superflous-parens 2021-08-31 16:28:54 -04:00
minit.py f-strings 2021-10-04 16:29:32 -04:00
minstall.py add install_emptydir function 2021-10-08 14:35:00 -04:00
mintro.py remove printf debugging 2021-10-04 18:37:03 -04:00
mlog.py Revert "mtest: fix test output issues (in console)" 2021-09-29 21:47:31 +03:00
mparser.py pylint: turn on superflous-parens 2021-08-31 16:28:54 -04:00
msetup.py deprecate layout=flat and warn people never to use it 2021-09-12 10:52:33 -04:00
msubprojects.py msubprojects: when revision is an available commit, do not fetch updates 2021-09-19 23:34:33 -04:00
mtest.py fix incorrect porting from % formatting to .format method 2021-10-04 16:29:30 -04:00
munstable_coredata.py fix coding errors in unstable-coredata subcommand 2021-08-22 13:56:41 +03:00
optinterpreter.py fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
programs.py condense lines 2021-10-04 17:01:03 -04:00
rewriter.py pylint: turn on superflous-parens 2021-08-31 16:28:54 -04:00