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

Re: Problem with wml in intl/l10n (Was: urlchecker pages updated)



On Wed, Dec 20, 2000 at 08:44:16AM +0100, Martin Quinson wrote:
> On Tue, 19 Dec 2000, James A. Treacy wrote:
> 
> > The results of the latest run of the url checker have been
> > placed on http://people.debian.org/~treacy/urlcheck/
> 
> I can find the following there:
> 
> Looking into http://www.debian.org/international/l10n/l10n-lang.en.html
>   http://www.debian.org/international/l10n/l10n-lang-br : Error =
> (404) Not Found
> 
> And the same error for a long list of languages.
> 
> My problem is that these pages should be generated by scripts/l10n-lang.pl
> (included in l10n-lang.wml). And these pages ARE generated when I do
> make. I don't understand what's going on.

Hi Martin, this is not related to wml, but to Makefiles. From similar
situations i guess a solution is to add in international/l10n/Makefile
  ifeq ($(LANGUAGE),en)
  install::
          install -p -m664 l10n-lang-*.en.html $(HTMLDIR)
  endif

Now it has to be approved by a `make' guru ;)

> In a more general way, I'm not sure I use the best way to generate these
> pages because they all use a pretty big database (aka
> data/transmonitor). As each part are generated by a separate wml file, the
> DB must be loaded (ie, parsed) several times. What is the best way to get
> a wml file generating several pages ?
> 
> Any hint, someone ? 

I'll have a look. Send a mail if you do not hear from me for days, which
means i forgot to look into your files.

Denis



Reply to: