Bugzilla – Bug 382
DESTDIR support is needed
Last modified: 2010-04-25 19:03:38 MDT
It is common practice to support DESTDIR variable at installation time in order to specify destination prefix directory. That is ./configure make make install DESTDIR=/tmp/.destdir.mktemp should install mktemp(1) and man pages under /tmp/.destdir.mktemp/usr/local/ Now it fails $ make DESTDIR=/tmp/1/2/3 install /bin/sh ./mkinstalldirs /usr/local/bin /usr/local/share/man/man1 /bin/sh ./install-sh -c -m 0555 -s mktemp /usr/local/bin/mktemp cp: /usr/local/bin/26232.tmp: Permission denied *** Error code 1 Stop. make: stopped in /tmp/mktemp-1.6 $
Fix in mktemp 1.7