why does "make install" write to files outside of DESTDIR ?
Eitan Adler
lists at eitanadler.com
Wed Jun 20 01:13:06 UTC 2018
On 13 June 2018 at 05:21, Eitan Adler <lists at eitanadler.com> wrote:
> Steps to reproduce:
>
> rm -rf /srv/www/devbox/
> mkdir /srv/www/devbox/
> env DESTDIR=/srv/www/devbox/docs/docs make -s all install
>
> Expected behavior: no files are written to outside of /srv/www/devbox/docs/docs
> Actual behavior: /srv/www/devbox/articles and /srv/www/devbox/books exist
>
> Why is this? Is there some way to avoid this?
anyone? This is particularly annoying when testing subsets of
documentation. Is there any variable to set that will work similarly
to MAKEOBJIRPREFIX from src?
I'd like to run "make install" from a doc directory and have it
install to the "expected" place so that browsing documentation from
the webserver still works.
--
Eitan Adler
More information about the freebsd-doc
mailing list