New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: add install_create_dir
target
#1604
Labels
Comments
keszybz
added a commit
to keszybz/systemd
that referenced
this issue
Apr 10, 2017
keszybz
added a commit
to keszybz/systemd
that referenced
this issue
Apr 10, 2017
keszybz
added a commit
to keszybz/systemd
that referenced
this issue
Apr 17, 2017
keszybz
added a commit
to keszybz/systemd
that referenced
this issue
Apr 19, 2017
keszybz
added a commit
to keszybz/systemd
that referenced
this issue
Apr 19, 2017
keszybz
added a commit
to keszybz/systemd
that referenced
this issue
Apr 20, 2017
keszybz
added a commit
to keszybz/systemd
that referenced
this issue
Apr 21, 2017
keszybz
added a commit
to keszybz/systemd
that referenced
this issue
Apr 24, 2017
eli-schwartz
added a commit
to eli-schwartz/meson
that referenced
this issue
Oct 3, 2021
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 mesonbuild#1604 Properly fixes mesonbuild#2904
Can you try out #9344? |
eli-schwartz
added a commit
to eli-schwartz/meson
that referenced
this issue
Oct 3, 2021
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 mesonbuild#1604 Properly fixes mesonbuild#2904
eli-schwartz
added a commit
to eli-schwartz/meson
that referenced
this issue
Oct 4, 2021
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 mesonbuild#1604 Properly fixes mesonbuild#2904
eli-schwartz
added a commit
to eli-schwartz/meson
that referenced
this issue
Oct 4, 2021
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 mesonbuild#1604 Properly fixes mesonbuild#2904
eli-schwartz
added a commit
to eli-schwartz/meson
that referenced
this issue
Oct 4, 2021
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 mesonbuild#1604 Properly fixes mesonbuild#2904
eli-schwartz
added a commit
to eli-schwartz/meson
that referenced
this issue
Oct 5, 2021
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 mesonbuild#1604 Properly fixes mesonbuild#2904
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure about the name...
Related to #1602, but for empty directories.
install_mode
should set the mode.Motivation:
Another option would be to extend
install_data
to support an empty file list (e.g.[]
as the positional arg), and addinstall_dir_mode
option. That's probably better than adding another install function.The text was updated successfully, but these errors were encountered: