9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <forsyth@terzarima.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] mk question
Date: Sat, 16 Oct 2004 12:23:41 +0100	[thread overview]
Message-ID: <b5a691e20ea1780e8d2ee07c95961e99@terzarima.net> (raw)
In-Reply-To: <97cf6a6e603204e68ecb28ccf32cefa3@vitanuova.com>

brucee is probably right about the relative merits of the various
approaches for reasonably formulated mkfiles, but in this particular case,

>>if i change the first rule to:
>>	%.b %.m %types.b %types.m: %.typeset mktypeset.dis
>>then i get:
>>	mk: cycle in graph detected at target mktypeset.dis

it seems perfectly reasonable for mk to diagnose this.  it is circular,
since it's declaring that (at least by default) ALL .b in this directory
depend on mktypeset.dis, which as shown includes mketypset.b,
which might cause me, let alone mk, to wonder which is chicken or egg.
if the declarations reflect the dependencies, it should work (subject to bugs).



  parent reply	other threads:[~2004-10-16 11:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-15 20:36 [9fans] scrollbuttons 2.0 andrey mirtchovski
2004-10-15 22:23 ` [9fans] mk question rog
2004-10-15 22:47   ` Russ Cox
2004-10-16  8:01     ` Bruce Ellis
2004-10-16 11:23   ` Charles Forsyth [this message]
2004-10-15 23:37 ` [9fans] scrollbuttons 2.0 Enache Adrian
2004-10-15 23:54   ` andrey mirtchovski
2004-10-18  9:38   ` Fco. J. Ballesteros
2004-10-20 17:49     ` Enache Adrian

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=b5a691e20ea1780e8d2ee07c95961e99@terzarima.net \
    --to=forsyth@terzarima.net \
    --cc=9fans@cse.psu.edu \
    /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).