meson/mesonbuild/scripts
Nirbheek Chauhan 7d6f628ed4 Support file perms for install_data and install_subdir
With the 'install_mode' kwarg, you can now specify the file and
directory permissions and the owner and the group to be used while
installing. You can pass either:

* A single string specifying just the permissions
* A list of strings with:
  - The first argument a string of permissions
  - The second argument a string specifying the owner or
    an int specifying the uid
  - The third argument a string specifying the group or
    an int specifying the gid

Specifying `false` as any of the arguments skips setting that one.

The format of the permissions kwarg is the same as the symbolic
notation used by ls -l with the first character that specifies 'd',
'-', 'c', etc for the file type omitted since that is always obvious
from the context.

Includes unit tests for the same. Sadly these only run on Linux right
now, but we want them to run on all platforms. We do set the mode in the
integration tests for all platforms but we don't check if they were
actually set correctly.
2017-01-24 00:20:51 +05:30
..
__init__.py style: [E1**] Indentation 2017-01-11 12:33:27 -05:00
cleantrees.py Use a script to clean-up custom-target output dirs 2016-12-19 22:31:26 +05:30
commandrunner.py style: fix E124 violations 2017-01-01 12:02:05 -05:00
delwithsuffix.py remove shebangs from scripts 2016-12-18 16:55:34 +01:00
depfixer.py cleanup: Remove redundant parentheses 2017-01-18 21:22:47 +02:00
dirchanger.py remove shebangs from scripts 2016-12-18 16:55:34 +01:00
gettext.py style: fix E127 violations 2017-01-02 19:16:56 +01:00
gtkdochelper.py style: [E303] too many blank lines (2) 2017-01-11 12:33:27 -05:00
meson_exe.py tree-wide: remove unused imports 2016-12-19 18:19:35 +01:00
meson_install.py Support file perms for install_data and install_subdir 2017-01-24 00:20:51 +05:30
regen_checker.py tree-wide: remove unused variables 2016-12-19 18:22:20 +01:00
scanbuild.py Use the correct directory for scan-build command. 2016-12-31 13:39:28 +02:00
symbolextractor.py style: fix E226 violations 2017-01-01 12:02:05 -05:00
uninstall.py Add simple uninstall target. Closes #753. 2016-12-31 13:55:55 +02:00
vcstagger.py remove shebangs from scripts 2016-12-18 16:55:34 +01:00
yelphelper.py style: fix E226 violations 2017-01-01 12:02:05 -05:00