-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 --destdir option #37
Comments
Meson already supports DESTDIR and it works exactly the same as with CMake and Autotools. Just do this: DESTDIR=/your/staging/area ninja install The installer for Meson itself takes a --destdir argument. I should probably make it behave the same. |
So in your case roughly the following: meson --prefix=%{_prefix} |
really, it works. Thanks! can you add this to documentation? |
Fixed. |
when we're packaging software we want to install it to
%{buildroot}/%{_prefix}/....
and we can't set prefix to%{buildroot}/%{_prefix}/
, because it can break auto-config files and etc.P.S.
%{buildroot}
in RPM ==$(DESTDIR)
in automakeThe text was updated successfully, but these errors were encountered: