postmodern / chruby

Changes the current Ruby
MIT License
2.86k stars 190 forks source link

Separate PREFIX and DESTDIR to allow staged installs #308

Closed ku1ik closed 9 years ago

ku1ik commented 9 years ago

According to this https://www.gnu.org/prep/standards/html_node/DESTDIR.html#DESTDIR and this http://www.freebsd.org/doc/en/books/porters-handbook/porting-prefix.html PREFIX and DESTDIR are related but not connected (like it was with PREFIX?=$(DESTDIR)/usr/local).

ku1ik commented 9 years ago

The same would apply to ruby-install's Makefile.

postmodern commented 9 years ago

Ah I see, it should be possible to specify both PREFIX= and DESTDIR=.