Fwd: Please turn off all xlstproc html generation on www.gnome.org



Murray wanted this here, so there you go!

---------- Forwarded message ----------
From: Morten Welinder <mwelinder gmail com>
Date: May 12, 2006 2:24 PM
Subject: Please turn off all xlstproc html generation on www.gnome.org
To: murrayc murrayc com


Murray,

please turn off the the html-via-xsltproc generation on www.gnome.org.  It is
broken beyond belief.  Any update on www.gnome.org takes 4-8 hours
to take effect because of this.

Here's a sniplet from
gnomeweb-wml/www.gnome.org/start/2.12/press_release/Makefile.am:

html:
       @for docbookdir in $(DOC_LINGUAS_PLUS_ORIGINAL); do \
         echo "Generating html for language: " $$docbookdir; \
         rm -rf $$docbookdir; \
         mkdir $$docbookdir; \
         echo "Running xlstproc on: " docbook/$$docbookdir/$(ROOTDOC); \
         xsltproc --xinclude -o $$docbookdir/unused.html.ignore \
           --param yelp_max_chunk_depth 1 \
           --stringparam admon.graphics.path ./images/ \
           --stringparam http_root http://www.gnome.org \
           --stringparam http_prefix /start/2.12/press_release \
           $(STYLE_PATH)db2html.xsl docbook/$$docbookdir/$(ROOTDOC); \
         echo "  xlstproc finished"; \
         for i in $$docbookdir/*.html; do \
           perl -p -i -e 's,<p class="section"></p>,<p class="section">Sections
</p>,g' $$i; \
         done \
       done

I.e., this is done twice for every change anywhere on www.gnome.org.
("make" and "make install".)  At the very least this should be made
to do nothing unless some of the source files have changed.

Thanks,

Morten
terra gnome org



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