Author: adrian.chadd
Date: Mon Jun 8 19:03:37 2009
New Revision: 14092
Modified:
branches/LUSCA_HEAD/errors/Makefile.am
branches/LUSCA_HEAD/errors/README
Log:
Document what is going on here.
Modified: branches/LUSCA_HEAD/errors/Makefile.am
==============================================================================
--- branches/LUSCA_HEAD/errors/Makefile.am (original)
+++ branches/LUSCA_HEAD/errors/Makefile.am Mon Jun 8 19:03:37 2009
@@ -51,7 +51,7 @@
Ukrainian-utf8
install-data-local:
- @for l in $(TEMPLATE_LANGUAGES); do ./build.pl src/$$l $$l; done
+ @for l in $(TEMPLATE_LANGUAGES); do ./build.pl src/$$l $$l || exit 1;
done
@for l in $(INSTALL_LANGUAGES); do \
$(mkinstalldirs) $(DESTDIR)$(DEFAULT_ERROR_DIR)/$$l && \
for f in $(srcdir)/$$l/ERR_*; do \
Modified: branches/LUSCA_HEAD/errors/README
==============================================================================
--- branches/LUSCA_HEAD/errors/README (original)
+++ branches/LUSCA_HEAD/errors/README Mon Jun 8 19:03:37 2009
@@ -1,5 +1,8 @@
Error Page generation notes
+
+= Overview =
+
Some (well, "English" at the time of commit) of the error pages are now
beginning to be template generated.
@@ -11,5 +14,20 @@
style CSS file (defaulting to "error.css".) The resultant combination is
written
out into the error directory during "make install".
-TODO: at least document what the stylesheet entries are so others have
-a chance of writing customised error page layouts.
+= How the error page stuff is built =
+
+The configure script populates ERR_LANGUAGES from the
errors/error-categories.txt
+file. It used to just probe all subdirectories of errors/ and include
those which
+had an ERR_ACCESS_DENIED page. This won't work in cases where the real
error
+pages live in src/ and the subdirectory (eg errors/English/) is empty at
configure
+time.
+
+= TODO =
+
+At least document what the stylesheet entries are so others have a chance
of
+writing customised error page layouts.
+
+The whole make setup for building and installing error pages is a bit
dirty.
+Shuffle around the error page directory layout and generate some actual
+per-directory Makefile's to do the installation.
+
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---