help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delete large list of files


From: Eli Zaretskii
Subject: Re: delete large list of files
Date: Mon, 04 Apr 2011 23:35:28 +0300

> Date: Mon, 04 Apr 2011 14:45:14 -0500
> From: Raleigh Rinehart <address@hidden>
> CC: "address@hidden" <address@hidden>
> 
> 
> >> # $(call rm-cmd,FILE_LIST,Chunk Size,rm options)
> >> rm-cmd=$(strip $(eval __a :=)$(foreach w,$1,$(if $(filter $2,$(words
> >> $(__a))),$(shell $(RM) $3 $(strip $(__a)) )$(eval __a:=))$(eval __a
> >> +=$w))$(shell $(RM) $3 $(__a))
> > What is the value of "RM"?
> 
> Sorry, I should have included that in the original e-mail.
> 
> rm is defined as:
> 
> GNUTOOLS := c:\progra~1\GnuWin32
> RM    := $(GNUTOOLS)\bin\rm.exe -f

Does it help to use forward slashes, both in GNUTOOLS and in RM?  You
may need to include $(RM) in quotes then, like this:


   $(shell "$(RM)" $3 $(__a))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]