Skip to content
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

meson: do not require rsync to build #102

Merged
merged 1 commit into from
Sep 24, 2021
Merged

meson: do not require rsync to build #102

merged 1 commit into from
Sep 24, 2021

Commits on Sep 24, 2021

  1. meson: do not require rsync to build

    Due to mesonbuild/meson#8641 the latest
    versions of meson now check that the first argument to run_target is a
    found executable.
    
    This causes rsync to become explicitly required even though it is only
    used for maintainer targets... there are essentially 3 solutions:
    
    - explicit find_program and only define the target if rsync is found
    
    - explicit find_program with a disabler that auto-disables the target if
      not found
    
    - run the program "env rsync", since env is basically always available
      and will in turn run rsync -- but meson doesn't know that rsync is
      "needed"
    
    Options 1 and 2 conveniently hide the maintainer target from people who
    do not care, and the disabler is slightly shorter.
    eli-schwartz committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    ae70599 View commit details
    Browse the repository at this point in the history