This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gtyp-input.list should contain absolute paths.


* Basile STARYNKEVITCH wrote on Fri, Jul 03, 2009 at 03:51:00PM CEST:
> 
> The patch below solves the issue, but the generated gtype-input.list
> contains too much empty blank lines. Any suggestions on how to solve
> this?

> +## compute the realpath of above GTFILES - keeping language tags as before
> +REALGTFILES = $(foreach f, $(GTFILES), $(if $(patsubst [%],,$f),
> $(realpath $f), $f))

In general please get your mailer to not mangle long lines in patches.
In this case, the mangling helped to provide the clue: you have too much
white space in this line, try using this instead:

REALGTFILES := $(foreach f, $(GTFILES),$(if $(patsubst [%],,$f),$(realpath $f),$f))

because those extra spaces show up in the output.

Cheers,
Ralf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]