why does "make install" write to files outside of DESTDIR ?

Eitan Adler lists at eitanadler.com
Wed Jun 13 12:21:37 UTC 2018


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?

-- 
Eitan Adler


More information about the freebsd-doc mailing list