At Sun, 16 Oct 2011 23:49:27 -0400,
Luke Shumaker wrote:
> The attatched patch should make GSRC work just fine with make 3.82.
> 
> Now, instead of using
>  $ make http//example.com/foo.tar.gz
> it's
>  $ make download/http/example.com/foo.tar.gz
> 
> While it's a little more... verbose, I like it because it seems
> slightly less "magic"; protocols are foreign to make, directories aren't.

Hi Luke. Can you explain how this works?  I thought the problem was
that if a filename like 'patch-3.18.tar.gz' matched a target like
'patch-%' it triggered the wrong rule, which seemed impossible to work
around.  I've tried "make -C gnu/patch" and I get an infinite loop
using make-3.81.

bjg@hp:/home/gnu/gsrc$ make -C gnu/patch
make: Entering directory `/home/gnu/gsrc/gnu/patch'
 ==> Grabbing download/patch-2.6.1.tar.gz
     ==> Trying download/file/files/patch-2.6.1.tar.gz
make[1]: Entering directory `/home/gnu/gsrc/gnu/patch'
 ==> Grabbing download/file/files/patch-2.6.1.tar.gz
     ==> Trying download/file/files/patch-2.6.1.tar.gz
make[2]: Entering directory `/home/gnu/gsrc/gnu/patch'
 ==> Grabbing download/file/files/patch-2.6.1.tar.gz
     ==> Trying download/file/files/patch-2.6.1.tar.gz
make[3]: Entering directory `/home/gnu/gsrc/gnu/patch'
 ==> Grabbing download/file/files/patch-2.6.1.tar.gz
     ==> Trying download/file/files/patch-2.6.1.tar.gz



Reply via email to