NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build.sh and the DESTDIR path



Hi,

Why is it that build.sh uses different DESTDIRs for the distribution step and 
the install step? It is somewhat inconvenient.

Compare:

distribution:

===> build.sh command: ./build.sh -j4 -T ./tooldir distribution
===> build.sh started: Fri Dec  3 09:17:21 MST 2010
===> NetBSD version:   5.1_STABLE
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> Build platform:   NetBSD 5.1_STABLE i386
===> HOST_SH:          /bin/sh
===> TOOLDIR path:     /usr/src/./tooldir
===> DESTDIR path:     /usr/src/destdir.i386
===> RELEASEDIR path:  /usr/src/releasedir
===> makewrapper:      /usr/src/./tooldir/bin/nbmake-i386

install:

===> build.sh command: ./build.sh -T ./tooldir install=/
===> build.sh started: Fri Dec  3 11:05:29 MST 2010
===> NetBSD version:   5.1_STABLE
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> Build platform:   NetBSD 5.1_STABLE i386
===> HOST_SH:          /bin/sh
===> TOOLDIR path:     /usr/src/./tooldir
===> DESTDIR path:     /usr/src/obj/destdir.i386
===> RELEASEDIR path:  /usr/src/obj/releasedir
===> makewrapper:      /usr/src/./tooldir/bin/nbmake-i386
===> Updated /usr/src/./tooldir/bin/nbmake-i386

Regards,
Sverre


Home | Main Index | Thread Index | Old Index