Re: Fwd: Please turn off all xlstproc html generation on www.gnome.org
- From: Thomas Wood <thos gnome org>
- To: Morten Welinder <mwelinder gmail com>
- Cc: gnome-web-list gnome org
- Subject: Re: Fwd: Please turn off all xlstproc html generation on www.gnome.org
- Date: Sun, 14 May 2006 21:54:13 +0100
I'd have to agree that the length of time it takes to build gnomeweb-wml
is becoming excessive. For testing, I normally cut out all the subdirs
from the makefile. I'm not sure you actually need to do make then make
install (I think just make install should suffice), however it would be
useful if there was some way to prevent unnecessary rebuilding if the
sources haven't changed.
-Thomas
Morten Welinder wrote:
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]