> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> sure it is. (I am not sure about submatches...)
Lars> What are you trying to do exactly?
Something like
layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout $(top_srcdir)/lib/layouts/*.inc
LC_ALL=C ; export LC_ALL ; \
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>
| Lars> Now, if somebody could tell me how I can organize Makefile.in.in
| Lars> so that I only have to have that function in one place and still
| Lars> be able to use it in all the
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Now, if somebody could tell me how I can organize Makefile.in.in
Lars> so that I only have to have that function in one place and still
Lars> be able to use it in all the targets I'd be grateful...
Lars> I can do it with a temp
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
>
| | I add a arg to awk: -v top_srcdir="$(top_srcdir)"
| | then I add a function:
| |function fixupfilename()
| |{
| |fna=FILENAME;
| |sub(top_srcdir "
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| I add a arg to awk: -v top_srcdir="$(top_srcdir)"
| then I add a function:
|function fixupfilename()
|{
|fna=FILENAME;
|sub(top_srcdir "/", ", fna);
|return fna;
|}
I changed
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>
| Lars> The relative path from going from builddir to sourcedir, they
| Lars> must be removed when generating the filenames in the pots.
>
| But when I do
| cd ${srcdir} ; awk 'bl
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> The relative path from going from builddir to sourcedir, they
Lars> must be removed when generating the filenames in the pots.
But when I do
cd ${srcdir} ; awk 'blah' lib/ui/*.ui >foo.pot
there is nothing related to build di
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>
| Lars> | Was it? What kind of differences? I really thought I took care
| Lars> of that.
>
| Lars> the file names ended up different.
>
| Basically, the approach was to do
| cd ${
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> | Was it? What kind of differences? I really thought I took care
Lars> of that.
Lars> the file names ended up different.
Basically, the approach was to do
cd ${srcdir} ; do_the_awk_dance
This seems much cleaner than the rem
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>
| Lars> Ah. you are using a build dir outside the source dir.
>
| Yes.
>
| Lars> Yes. it was not working. (the pot file was different depending
| Lars> on build dir != srcdir, and th
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| Can I apply the patch?
The patch looks ok to me.
--
Lgb
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Ah. you are using a build dir outside the source dir.
Yes.
Lars> Yes. it was not working. (the pot file was different depending
Lars> on build dir != srcdir, and that is not good and makes "make
Lars> distcheck" fail.)
Was it
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| The following patch ensures that things like "List of Figures" gets
| translated correctly on screen (and in latex output in the case of
| algorithms).
>
| The awk code in po/Makefile.in.in could be made shorter if only I knew
| how to refer to th
The following patch ensures that things like "List of Figures" gets
translated correctly on screen (and in latex output in the case of
algorithms).
The awk code in po/Makefile.in.in could be made shorter if only I knew
how to refer to the /regexp/ match.
The main caveat with this patch is that I
14 matches
Mail list logo