Date: Tue, 19 Jun 2018 18:12:32 -0700 From: Eitan Adler <lists@eitanadler.com> To: FBSD Doc project <doc@freebsd.org> Subject: Re: why does "make install" write to files outside of DESTDIR ? Message-ID: <CAF6rxgkz37NiSVk4ZbhQOAsXV3P_hQ_Mzx-2zE_NSrfEv1d7Bw@mail.gmail.com> In-Reply-To: <CAF6rxgmqhMTo_g=dFTAcmsLo1=fXZ3rgd%2Be1MdzZE3W3Bbo4Aw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On 13 June 2018 at 05:21, Eitan Adler <lists@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 Adlerhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgkz37NiSVk4ZbhQOAsXV3P_hQ_Mzx-2zE_NSrfEv1d7Bw>
