lilypond-devel
[Top][All Lists]
Advanced

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

Re: website and doc build


From: Jean-Charles Malahieude
Subject: Re: website and doc build
Date: Wed, 02 May 2012 15:57:18 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

Le 01/05/2012 00:55, Francisco Vila disait :
2012/4/30 Jean-Charles Malahieude<address@hidden>:
I've tried to understand how and when the mo files for the "program" are
built, in order to reproduce it for Documentation, and change
LYDOC_LOCALEDIR to point to $(top-build-dir)/Documentation/po/out but with
no success at all.

mo files are created by msgfmt and it is mentioned in

git grep -i MSGFMT
[...]


The problem is in fact a matter of /chronology/. Or I don't understand how it works (this is even not a guess!).

The only line where I find "po" is in Documentation/Gnumakefile and it stands:
SUBDIRS = $(MANUALS_SUBDIRS) snippets logo pictures misc po css topdocs

But it does not /change/ anything when I order it
SUBDIRS = po $(MANUALS_SUBDIRS) snippets logo pictures misc css topdocs

The log-file let it appear at the same place:
[...]
make[3]: Leaving directory `/home/jcharles/GIT/Release/Documentation/misc'
make[3]: Entering directory `/home/jcharles/GIT/Release/Documentation/po'
GNUmakefile:28: warning: overriding recipe for target `po-update'
/home/jcharles/GIT/Release/stepmake/stepmake/podir-targets.make:14: warning: ignoring old recipe for target `po-update'
mkdir -p ./out-www
touch ./out-www/dummy.dep
echo '*' > ./out-www/.gitignore
make[3]: Leaving directory `/home/jcharles/GIT/Release/Documentation/po'
make[3]: Entering directory `/home/jcharles/GIT/Release/Documentation/po'
GNUmakefile:28: warning: overriding recipe for target `po-update'
/home/jcharles/GIT/Release/stepmake/stepmake/podir-targets.make:14: warning: ignoring old recipe for target `po-update'
msgfmt -o out-www/de.mo de.po
msgfmt -o out-www/ja.mo ja.po
msgfmt -o out-www/es.mo es.po
msgfmt -o out-www/fr.mo fr.po
msgfmt -o out-www/zh.mo zh.po
msgfmt -o out-www/it.mo it.po
msgfmt -o out-www/cs.mo cs.po
msgfmt -o out-www/hu.mo hu.po
msgfmt -o out-www/nl.mo nl.po
for i in de ja es fr zh it cs hu nl; do \
  mkdir -p ./out-www/$i/LC_MESSAGES; \
  cp ./out-www/$i.mo ./out-www/$i/LC_MESSAGES/lilypond-doc.mo; \
done
touch out-www/messages
true
make[3]: Leaving directory `/home/jcharles/GIT/Release/Documentation/po'
make[3]: Entering directory `/home/jcharles/GIT/Release/Documentation/css'
[...]

What I would like to achieve is to /move/ it at the latest just after "internals" and other autogenerated itexis have been present. One could see it as a dependency, but I don't locate the rule nor know how to instantiate it after two days of digging.

Cheers,
Jean-Charles



reply via email to

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