RSS/Atom feed Twitter
Site is read-only, email is disabled

make validate

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

Make validate julien 30 Dec 15:15
  Make validate Ulf-D. Ehlert 31 Dec 12:16
make validate julien 13 Jan 15:07
  make validate Ulf-D. Ehlert 13 Jan 19:12
julien
2008-12-30 15:15:47 UTC (about 16 years ago)

Make validate

Hi,

When I run "make validate", this validates "en" and errors are displayed in the console window.
But I can't find the usual "en.xml" file browsing all the trunk folder and sub folders.

@+

Julien

Ulf-D. Ehlert
2008-12-31 12:16:38 UTC (about 16 years ago)

Make validate

Hi Julien,

julien (Dienstag, 30. Dezember 2008, 15:15):

When I run "make validate", this validates "en" and errors are displayed in the console window.
But I can't find the usual "en.xml" file browsing all the trunk folder and sub folders.

That's because we don't need this file for making HTML. We use xsltproc ... --xinclude ... xml/fr/gimp.xml without the intermediate step of generating an XML file with all files included.

I will change validating to create this file if xmllint finds any errors.

Bye,
Ulf

julien
2009-01-13 15:07:34 UTC (about 16 years ago)

make validate

Hi,

Why these differences :

~/SVN-po/trunk> make validate test -s log/en-xmllint.log && cat log/en-xmllint.log No errors.

~/SVN-po/trunk> make -f Makefile.GNU validate *** Validating XML (en) ...
No errors.

What is the right way to validate?

Julien

Ulf-D. Ehlert
2009-01-13 19:12:37 UTC (about 16 years ago)

make validate

julien (Dienstag, 13. Januar 2009, 15:07):

Hi,

Why these differences :

~/SVN-po/trunk> make validate test -s log/en-xmllint.log && cat log/en-xmllint.log No errors.

Hmm, you should never see the first line, unless you make validate VERBOSE=2

Probably you forgot to re-run autogen.sh.

~/SVN-po/trunk> make -f Makefile.GNU validate *** Validating XML (en) ...
No errors.

What is the right way to validate?

"make validate" or "make validate-fr" should work the the same way for both Makefile and Makefile.GNU.

You will see the message "*** Validating XML (en) ..." if xmllint is really validating. The result is saved to "log/en-xmllint.log", which is displayd on the screen. When you re-run "make validate" without any changes to the source files, the logfile will be printed to screen without invoking xmllint (and without the "Validating" message).

Ulf