Re: There is a bug in the make manual!!

2010-09-07 Thread Paul Smith
On Sun, 2010-09-05 at 11:01 +0430, ali hagigat wrote: > I copied some lines of the 2010 make manual, page 19. It says > prerequisite list will be: > /tmp/var/bar/foo.c > Where is 'var'? You're right; that should not contain a "var". I've fixed that in the source. --

Re: There is a bug in the make manual!!

2010-09-04 Thread ali hagigat
Secondary Expansion of Implicit Rules .SECONDEXPANSION: /tmp/foo.o: %.o: $$(addsuffix /%.c,foo bar) foo.h The prerequisite list after the secondary expansion and directory prefix reconstruction will be ‘/tmp/foo/foo.c /tmp/var/bar/foo.c foo.h’. --

Re: There is a bug in the make manual!!

2010-09-04 Thread Paul Smith
On Sat, 2010-09-04 at 11:12 +0430, ali hagigat wrote: > Please check the following section of the make manual: I'm not quite sure what you're trying to say. You have a version of the manual published in 2006. It has a problem. There have since been new versions of the manual made available, tha

There is a bug in the make manual!!

2010-09-03 Thread ali hagigat
Please check the following section of the make manual: Secondary Expansion of Explicit Rules tively. In the third they will have values foo.1, foo.1 bar.1 foo.2 bar.2, and foo.1 bar.1 foo.2 bar.2 respectively.