Another question on update procedure: The mkfiles have the targets "nuke" and "clean". What is the difference? Thanks, benny
Benjamin Riefenstahl writes:
> Another question on update procedure: The mkfiles have the targets
> "nuke" and "clean". What is the difference?
Anybody have an idea? Am I overlooking some documentation?
benny
Hello, Afaik clean should just clean stuff in /sys/src while nuke also deletes library files in /$objtype/. At least, nuke touches stuff outside /sys/src. Hope this helps sirjofri
If you read the template mkfiles in /sys/src/cmd/ you can see the difference between 'clean' and 'nuke': for system libs: http://git.9front.org/plan9front/plan9front/70e2b4f7ec6b225ae69a6e76dd025e1be0e0e8b1/sys/src/cmd/mksyslib/f.html for individual programs: http://git.9front.org/plan9front/plan9front/70e2b4f7ec6b225ae69a6e76dd025e1be0e0e8b1/sys/src/cmd/mkone/f.html As sirjofri states, nuke will delete library targets and more files than clean will. To find out which template a given mkfile uses, refer to lines such as: </sys/src/cmd/mkone Cheers, Sean On Wed, Apr 20, 2022 at 10:07 AM sirjofri <sirjofri+ml-9front@sirjofri.de> wrote: > > Hello, > > Afaik clean should just clean stuff in /sys/src while nuke also deletes > library files in /$objtype/. At least, nuke touches stuff outside > /sys/src. > > Hope this helps > > sirjofri
Sean Hinchee writes:
> As sirjofri states, nuke will delete library targets and more files
> than clean will.
Ok, deleting libraries makes sense. So "mk clean" is opposite to "mk
all", and "mk nuke" goes with "mk install". Within reason, I guess, as
deleting programs would not make sense ever.
Thanks, benny