Windows XP and make 3.80

2006-05-05 Thread Pablo Alarcón Pavez

Hello People,

I'm attaching a very simple makefile that have some problem with command 
interpreter on Windows XP. I haven't found something on the 
documentation and i'm still trying to figure out if is it there a 
problem on my set up.


Command: make clean
OS: Windows XP version 2002, service pack 2
make version: 3.80

It interprets rmdir /q /s lib as rmdir /q, rmdir /s and rmdir lib with 
errors.


I'll appreciate any feedback!

Thank's and best regards,
Pablo
YX Wireless S.A.
www.yx.cl

# clean - deletes everything that can be rebuilt

maintgt:
@echo main target

.PHONY: clean 
clean: 
@echo make version 3.80 and Windows XP 2002 SP2
rmdir /q /s lib
___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


[bug #16531] Substitution reference and secondary expansion

2006-05-05 Thread anonymous

URL:
  http://savannah.gnu.org/bugs/?func=detailitemitem_id=16531

 Summary: Substitution reference and secondary expansion
 Project: make
Submitted by: None
Submitted on: 金曜日 2006年05月05日 at 15:36 UTC
Severity: 3 - Normal
  Item Group: Bug
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
   Component Version: 3.81
Operating System: POSIX-Based
   Fixed Release: None

___

Details:

The make doesn't recognize substitution references while the
secondary expansion. I don't find any restrictive note about
this in the manual either.



.PHONY: foo.bar

.SECONDEXPANSION:
#foo: $$(patsubst %,%.bar,$$@)
foo: $$(@:%=%.bar)
[EMAIL PROTECTED] $^

Makefile:5: *** target pattern contains no `%'.  Stop.







___

Reply to this item at:

  http://savannah.gnu.org/bugs/?func=detailitemitem_id=16531

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


[gnu.org #286638] Finding Gmake

2006-05-05 Thread John Sullivan via RT
 [EMAIL PROTECTED] - Tue May 02 14:59:45 2006]:
 
 Software everywhere tells you to 'use gmake, which is freely
 available from gnu's site'.
 
 So why when you go to gnu's site does 'search' for 'gmake' not find
 it?  Apparently because gnu calls it GNU Make.  Why not add a little
 page explaining this?  I'm not the only person who had this problem
 (google 'download gmake' to see what I mean).
 

The #1 result for a google search for gmake is
http://www.gnu.org/software/make.

As far as I know, it's only called gmake on certain systems, to distinguish
it from other versions of make. I'll forward your suggestion to the
maintainers of GNU Make, so they can consider it and possibly update the page
accordingly. Thanks for the feedback.

--
John Sullivan, FSF
GNU Chief Webmaster



___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


Re: Windows XP and make 3.80

2006-05-05 Thread Eli Zaretskii
 Date: Fri, 05 May 2006 10:14:38 -0400
 From: =?ISO-8859-1?Q?Pablo_Alarc=F3n_Pavez?= [EMAIL PROTECTED]
 
 Command: make clean
 OS: Windows XP version 2002, service pack 2
 make version: 3.80
 
 It interprets rmdir /q /s lib as rmdir /q, rmdir /s and rmdir lib with 
 errors.

Do you have an rmdir.exe program somewhere on your PATH?  Or perhaps
you have a Unixy shell sh.exe somewhere?  If so, Make will invoke
those Unix-style rmdir commands in preference to the cmd.exe built-in.

If you want to be sure the cmd's rmdir is invoked, I suggest to modify
your Makefile as follows:

clean: 
@echo make version 3.80 and Windows XP 2002 SP2
cmd.exe /c rmdir /q /s lib


___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make