Re: [Gimp-docs] 'make' feature: HTML drafts

Top Page

Reply to this message
Author: Ulf-D. Ehlert
Date:  
To: gimp-docs
Subject: Re: [Gimp-docs] 'make' feature: HTML drafts
Hi Julien,

julien (Donnerstag, 6. März 2008, 20:52):
> - I modified src/filters/blur/blur xml and saved it under .xml and
> .patch -


You don't need "src/filters/blur/blur.patch". Just edit (and save) as
usual.

> I ran
> make src/filters/blur/blur.xml ALL_LINGUAS="fr"


No.

> and got "Nothing to do to blur.xml"


Yes, "make" won't touch or build "src/filters/blur/blur.xml".

> make src/filters/blur/blur.patch ALL_LINGUAS="fr"


No. Try "make src/filters/blur/blur.draft".

> and got "src/filters/blur/blur.draft is up-to-date"


There is (should be) no file named "src/filters/blur/blur.draft".
Did you save your "blur.xml" as "blur.draft"? Then make would see an
up-to-date file and won't do anything.

> What is wrong?


Do not create a file named "*.draft". (Remove any existing files
named "*.draft".)
Let 'make' "create" the draft file - it's a pseudo target,
actually 'make' will use the first id to create the real target name.

It may look like this:

    $ vi src/filters/blur/blur.xml
    $ make src/filters/blur/blur.draft ALL_LINGUAS=fr
    Making draft page (ignore any XSLT complaints):
    Making ./html/fr/plug-in-blur.html ...
    $ ls -l html/fr
    total 37
    -rw-r--r-- 1 ulf users 1361 Feb 2 20:30 gimp-help-custom.css
    -rw-r--r-- 1 ulf users 272 Mar 5 18:00 gimp-help-draft.css
    -rw-r--r-- 1 ulf users 1667 Jan 4 2007 gimp-help-plain.css
    -rw-r--r-- 1 ulf users 13585 Mar 4 19:03 gimp-help-screen.css
    -rw-r--r-- 1 ulf users 12563 Mar 1 19:00 gimp22.css
    -rw-r--r-- 1 ulf users 2944 Mar 7 11:27 plug-in-blur.html

(There is only one HTML file here, since I usually do not build
html/fr.)

HTH
Ulf
_______________________________________________
Gimp-docs mailing list
Gimp-docs@???
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs