Re: [Gimp-docs] Figures for each language on docs.gimp.org
- From: "Ulf-D. Ehlert" <ude88 web de>
- To: gimp-docs-list gnome org
- Subject: Re: [Gimp-docs] Figures for each language on docs.gimp.org
- Date: Sat, 21 Jul 2012 20:20:47 +0200
Hi Roman,
I don't know if I can solve your problem (and I have no idea why
everything worked for 2.6, but not for 2.8), but here are my
thoughts/suggestions:
On Fri, Jul 20, 2012 at 08:36:04PM +1000, Roman Joost wrote:
> Build steps are:
>
> make clean
>
> ./autogen.sh --without-gimp
>
> make validate-all
>
(Tip: "make -k [or --keep-going] validate-all" may be better, this
will continue even if validating one language fails.)
> make html
>
> for i in `find ./html -name 'images' -type l`; do ln -sf -T ../images/$(basename $(dirname $i)) $i; done
I don't see what you want to achieve with this command, but I'm quite
sure it will not work as expected - local or remote.
(If you really need something like this, we should better add a new
'make' target.)
> for i in html/ images xml; do\
> rsync -avzr -e ssh $i cube:/htdocs/2.8/;
> done
I don't use rsync (so maybe I'm wrong), but IMHO you can use
rsync -avzr -e ssh \
--relative \
--delete \
images xml/*/images html \
cube:/htdocs/2.8/
Then you should have a working copy under cube:/htdocs/2.8/:
htdocs/2.8/html/LANG
htdocs/2.8/html/LANG/images -> ../../xml/LANG/images
htdocs/2.8/images
htdocs/2.8/xml/LANG
htdocs/2.8/xml/LANG/images # containing proper symlinks
and ..
> In the second last step, I'm repointing the the image links to one level
> above the HTML directory. That's because the 2.8 directory holds the
> whole structure and sub-directories:
>
> /2.8/html/...
> /2.8/images/...
> /2.8/xml/...
... if you create an alias for every language
http://docs.gimp.org/2.8/LANG/ = htdocs/2.8/html/LANG
it should work[*].
Ulf
[*] It won't work, of course, I surely missed something... ;-)
--
Jeder hat zunächst den Gottesglauben, den man ihm aufgeschwatzt
hat; aber allmählich hat er den, den er verdient.
-- Karlheinz Deschner
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]