9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: dexen deVries <dexen.devries@gmail.com>
To: 9fans@9fans.net
Subject: [9fans] mk: the `D' attribute
Date: Tue,  9 Oct 2012 10:02:54 +0200	[thread overview]
Message-ID: <3999693.4jXBKSpAjI@coil> (raw)

why is the `D' attribute (`If the recipe exits with a non-null status, the 
target is deleted.') optional and not default behavior? in what cases does 
leaving half-made files make sense?

GNU make's manual states, ``This [[removal of target on error]] is almost 
always what you want `make' to do, but it is not historical practice; so for 
compatibility, you must explicitly request it''. is `mk' about backward 
compatibility just as well?

-- 
dexen deVries

[[[↓][→]]]



             reply	other threads:[~2012-10-09  8:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-09  8:02 dexen deVries [this message]
2012-10-09  9:04 ` Andy Spencer
2012-10-09 15:22 ` Anthony Sorace

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=3999693.4jXBKSpAjI@coil \
    --to=dexen.devries@gmail.com \
    --cc=9fans@9fans.net \
    /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).