www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/12/06:56:25

From: pderbysh AT o DOT net (SpamKiLr)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bug in Make? Completely incorrect behavior.
Organization: Spam Haters Anonymous, insert the three letter name of the country south of Canada and a dot before "net" to unmunge.
Message-ID: <387c53ff.34216248@news.globalserve.net>
References: <387bc68e DOT 493166929 AT news DOT globalserve DOT net> <Pine DOT SUN DOT 3 DOT 91 DOT 1000112090212 DOT 28074P-100000 AT is>
X-Newsreader: Forte Free Agent 1.11/32.235
Lines: 54
Date: Wed, 12 Jan 2000 10:24:39 GMT
NNTP-Posting-Host: 207.176.153.106
X-Complaints-To: news AT primus DOT ca
X-Trace: news2.tor.primus.ca 947673387 207.176.153.106 (Wed, 12 Jan 2000 05:36:27 EST)
NNTP-Posting-Date: Wed, 12 Jan 2000 05:36:27 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 12 Jan 2000 09:02:32 +0200, Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
wrote:

>``Multiple target patterns'' doesn't refer to `%', it pertains to
>another type of snafu.  But since you didn't post the Makefile, and
>didn't even tell what DOCSOURCEFILES expands to, it is impossible to
>know what is the problem.

The info file says "multiple target patterns" means a problem with a
pattern target; following the link it explains that a pattern target
is one with a %.

Specifically:

  `missing target pattern.  Stop.'
  `multiple target patterns.  Stop.'
  `target pattern contains no `%'.  Stop.'
       These are generated for malformed static pattern rules.  The
first
       means there's no pattern in the target section of the rule, the
       second means there are multiple patterns in the target section,
       and the third means the target doesn't contain a pattern
character
       (`%').


Which is incorrect, you or the info file?


In any case it asserts that the problem is with the target section.
That's $(DOCTARGETFILE), not $(DOCSOURCEFILES).

$(DOCSOURCEFILES), just to satisfy your curiosity, expands to

ODESOURCEFILES ../source/pgd/protomatter/overview.html
./source/pgd/protomatter/package.html 
../source/pgd/protomatter/fractal/package.html

You found me a bug, but nothing to do with pattern rules, since it
isn't a pattern rule... I appear to have forgotten to put () in
$(CODESOURCEFILES) in expanding $(DOCSOURCEFILES).

I fixed that bug and tried again. No go. $(DOCSOURCEFILES) now expands
to
../source/pgd/protomatter/fractal/Fractal.java
../source/pgd/protomatter/fractal/FractalEvent.java
../source/pgd/protomatter/fractal/FractalListener.java
../source/pgd/protomatter/overview.html
../source/pgd/protomatter/package.html
../source/pgd/protomatter/fractal/package.html

since changes to any of those files means the docs must be updated
with another javadoc run.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019