9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Sean Hinchee <henesy.dev@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] Re: Update system: Difference "mk nuke" and "mk clean"?
Date: Thu, 21 Apr 2022 01:51:09 -0700	[thread overview]
Message-ID: <CADmmOS8kFTCuVRuT7Mtq7eA_iOOAqz8K_bC9ELqx5O=XFRzaCQ@mail.gmail.com> (raw)
In-Reply-To: <c1b9524f-cffa-49ce-83cd-7892ef7c0cd2@sirjofri.de>

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

  reply	other threads:[~2022-04-21  8:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11 17:41 [9front] " Benjamin Riefenstahl
2022-04-20 15:44 ` [9front] " Benjamin Riefenstahl
2022-04-20 17:05   ` sirjofri
2022-04-21  8:51     ` Sean Hinchee [this message]
2022-04-21 18:02       ` Benjamin Riefenstahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADmmOS8kFTCuVRuT7Mtq7eA_iOOAqz8K_bC9ELqx5O=XFRzaCQ@mail.gmail.com' \
    --to=henesy.dev@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).