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

Patch for Makefile.common [Was: Re: New page for devel/website]



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 24 August 2004 20:36, Luk Claes wrote:
> I think it's a good idea to put such a page on the site.
>
> But I also think we maybe need updated validate and tidy scripts? They
> would ease the conversion and maintenance.

Well, I agree in principle. However, I don't think it would be a good idea
to check for XHTML compliance right now, because poor Alfie (who's running
the scripts in a cron job) would be overwhelmed by the sheer amount of
errors.

I guess we should concentrate on fixing most of the outstanding issues
before switching the scripts. For example, wml is currently "optimizing"
the HTML code by removing the closing slash in e.g. <br />, thus printing
<br>.

I think this should be fixed by applying the following patch to
Makefile.common. Could someone please review this? Note that the expansion
level of 3082 is what I concluded from the wml docs; I don't know whether
Debian uses the default configuration of mp4h for the generation of the web
pages.

Index: Makefile.common
===================================================================
RCS file: /cvs/webwml/webwml/Makefile.common,v
retrieving revision 1.83
diff -u -r1.83 Makefile.common
- --- Makefile.common     25 May 2004 21:41:27 -0000      1.83
+++ Makefile.common     24 Aug 2004 19:25:37 -0000
@@ -20,7 +20,7 @@
 endif
 
 LANGUAGECAP = $(shell echo $(LANGUAGE) | tr "a-z" "A-Z")
- -WMLOPTIONS := -q -D CUR_YEAR=$(CUR_YEAR)
+WMLOPTIONS := -q -D CUR_YEAR=$(CUR_YEAR) --passoption=2,--expansion=3082
 WMLOUTFILE = $(@F)
 WMLPROLOG :=
 WMLEPILOG :=

Cheers,

- --

Tobias

    In the beginning, there was nothing. And God said, "Let there be
    Light." And there was still nothing, but you could see a bit better.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD4DBQFBK5nTCqqEJ0Fs8twRAkceAJ9CZoxPyxBJSOJ8ZnN+pCwpZxikewCY8TvK
pGpoEHzXthDwKfPQJfQCVA==
=fb22
-----END PGP SIGNATURE-----



Reply to: