[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] minor build issue
From: |
Felix Ruess |
Subject: |
Re: [Paparazzi-devel] minor build issue |
Date: |
Wed, 17 Aug 2011 16:59:13 +0200 |
Hi again :-)
that is strange... did your generated maps.xml contain the \n in "plaintext"?
It gets correctly converted to a new line on my ubnutu 11.04 system.
What system are you on?
Cheers, Felix
On Wed, Aug 17, 2011 at 4:16 PM, Oswald Berthold
<address@hidden> wrote:
>
> hi, was having trouble this '\n' in maps.xml
>
> BUILD /home/src/QK/paparazzi/paparazzi/var/include/messages.h
> Exception:
> Failure "/home/src/QK/paparazzi/paparazzi/conf/maps.xml: Unexpected PCData".
> make: *** [/home/src/QK/paparazzi/paparazzi/var/include/messages.h] Error 2
>
>
>
> diff --git a/data/maps/Makefile b/data/maps/Makefile
> index 6ceb046..9a676c7 100644
> --- a/data/maps/Makefile
> +++ b/data/maps/Makefile
> @@ -10,7 +10,8 @@ $(DATADIR)/maps.google.com: $(DATADIR) FORCE
> wget -O $(@) http://maps.google.com/
>
> $(PAPARAZZI_HOME)/conf/maps.xml: $(DATADIR)/maps.google.com
> - $(Q)echo "<!DOCTYPE maps SYSTEM \"maps.dtd\">\n" > $(@)
> + $(Q)echo "<!DOCTYPE maps SYSTEM \"maps.dtd\">" > $(@)
> + $(Q)echo "" >> $(@)
> $(Q)echo "<maps google_version=\""`grep -P
> "http://khm[0-9]+.google.com/kh/v=[0-9]+.x26" $(DATADIR)/maps.google.com |
> sed -E s#.*http://khm[0-9]+.google.com/kh/v
> $(Q)echo "" >> $(@)
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>