Subject: Re: etc/Makefile: snapshots in release(7) format
To: Curt Sampson <>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: tech-toolchain
Date: 02/06/1999 21:01:53
... these changes sounded yummy, so after blasting away at the
binutils changes, and doing a `make builds' to a destdir, then into my
working /, then doing make build again and looking for difs, ...  I
tried to build a snapshot.

I tried 
    cd /usr/src/etc
    make snapshot DESTDIR=/.. RELEASEDIR=/... INSTALL_DONE=1

and the Makefile merrily blew away the kernel I'd just configured and
build.  Blasted thing'll take ~2 hours to redo the depends and build.

Is a documented, future-proof way to avoid that?  All I found was
setting BUILD. I dunno about anyone else, but that seems to invite
confusion wiht `make build'.

And shoudldn't the snap_md target should be inside the

Last, suppose we want `make snapshot' to build install media images
from somewhere in distrib/. Where should the targets for that be added?