Override install_dir in command-line/automatically modify meson.build #13719
Replies: 1 comment 5 replies
-
Why do you need that for an automated build/packaging system? At various times in my life I've developed and packaged software for multiple automated build/packaging systems and I have never before heard of this need. If a project's meson.build file includes an install_dir doing something like e.g. Can you show an example of a software package that needs the override you are asking about? |
Beta Was this translation helpful? Give feedback.
-
Hi,
is there any way to force meson with a command-line option to ignore the "install_dir" option in the meson.build file and install libraries/executables in the default location?
If not, is there a simple way to automatically edit a meson.build file and just delete that option? I tried with sed, but with regular expressions this is not possible reliable. I need that for an automated build/packaging system, so manual editing of the meson.build is not an option.
Best regards
Stefan
Beta Was this translation helpful? Give feedback.
All reactions