Re: PATCH: .SECONDARY target with no dependencies does not work correctly.

2000-06-16 Thread Seth M LaForge
"Paul D. Smith" <[EMAIL PROTECTED]>: > This is obliquely stated in the documentation: > > `.SECONDARY' > The targets which `.SECONDARY' depends on are treated as > intermediate files, except that they are never automatically > deleted. *Note Chains of Implicit Rules: Chained Rule

PATCH: .SECONDARY target with no dependencies does not work correctly.

2000-06-15 Thread Seth M LaForge
(Make version 3.79.) Consider: % cat Makefile %.1: %.2 cp $< $@ %.2: %.3 cp $< $@ .SECONDARY: % ls Makefile foo.3 % make foo.1 cp foo.3 foo.2 cp foo.2 foo.1 rm foo.2 According to the documentation, the .SECONDARY target should cause all files to be cons

PATCH: Multiple-target pattern rules do the wrong thing with subdirs.

2000-06-15 Thread Seth M LaForge
(Make version 3.79.) Consider this Makefile: %.1 %.2: %.src cp $< $*.1 cp $< $*.2 Create a file sub/foo.src and 'make -Rp sub/foo.1'. Here's an excerpt from the output: # Not a target: sub/foo.1: sub/foo.src # Command-line target. # Implicit rule search has bee