paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] make fails when a parent directory of paparazzi3 h


From: cory barton
Subject: Re: [Paparazzi-devel] make fails when a parent directory of paparazzi3 has spaces in the name
Date: Mon, 15 Sep 2008 16:11:12 -0400

Did this piss off Hector?

I noticed this in the CVS:

Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Thu Jul 10 07:42:51 2008 UTC (2 months ago) by hecto
Branch: MAIN
CVS Tags: HEAD
Changes since 1.79: +6 -2 lines
Diff to previous 1.79

Checking for fucking spaces in the directory name

And in the make file:
ifneq ($(findstring $(space),$(PAPARAZZI_SRC)),)
  $(error No fucking spaces allowed in the current directory name)
endif

That is better than most error message. But, I still wonder if
non-fucking spaces are allowed? ;)


On Thu, Jul 10, 2008 at 9:53 AM, cory barton <address@hidden> wrote:
> I thought it was something like that. Thanks!
>
> Cory
>
> On Thu, Jul 10, 2008 at 3:46 AM, Pascal Brisset <address@hidden> wrote:
>> Hi,
>>
>> classical "quote" problem in script languages. It seems there is no good
>> solution to handle spaces in file names with make
>> (http://www.cmcrossroads.com/content/view/7859/268/) . So don't use them. We
>> have just patched the Makefile to produce a proper error message if a space
>> occurs in the path.
>>
>> --Pascal
>>
>> cory barton wrote:
>>>
>>> I didn't see this in my search for the mailing list. Kindly accept my
>>> apologies if this is a repost of a known issue.
>>>
>>> I noticed that make fails when the paparazzi3 directory has a parent
>>> directory with spaces in the name:
>>>
>>> For example:
>>> /home/cory/test fail/paparazzi3
>>>
>>> make says:
>>> address@hidden:~/test fail/paparazzi3$ make
>>> Makefile:104: warning: overriding commands for target `/home/cory/test'
>>> Makefile:97: warning: ignoring old commands for target `/home/cory/test'
>>> ...
>>> <snip>
>>> ...
>>> Makefile.ac:100: warning: ignoring old commands for target
>>> `/home/cory/test'
>>> cd sw/lib/ocaml; make PAPARAZZI_SRC=/home/cory/test fail/paparazzi3
>>> PAPARAZZI_HOME=/home/cory/test fail/paparazzi3
>>> ocamldep *.ml* > .depend
>>> make[1]: *** No rule to make target `fail/paparazzi3'.  Stop.
>>> make: *** [lib] Error 2
>>>
>>> Hope this helps somebody.
>>>
>>> Cory
>>>
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>
>>
>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>




reply via email to

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