# HG changeset patch # User fabien # Date 1155243306 14400 # Node ID fa0c9cb0ea306fab8861b92c43183be74ebc5895 # Parent 812a7a38b95a06cf32b66b98c472e85674f6273d [svn r2144] r2222@freebird: fabien | 2006-08-10 16:47:23 -0400 r2216@freebird: fabien | 2006-08-10 16:37:49 -0400 Small correction for correct compilation. diff -r 812a7a38b95a -r fa0c9cb0ea30 Makefile --- a/Makefile Thu Aug 10 16:54:47 2006 -0400 +++ b/Makefile Thu Aug 10 16:55:06 2006 -0400 @@ -5,10 +5,17 @@ TOP=$(shell pwd) INSTALL_DIR=$(TOP)/install -SRCS=poetry.xml +SRCS=poetry.xml + +# Currently, those sections doesn't compiled because of an invalid +# link references. I have a similar problem with the nargir source +# book and ecjdr. I should find a solutions for this kind of "mixed" +# (internal|external) links when using xinclude. Better would be to +# not used xinclude at all. + +SECTIONS=alpha.xml \ + chronology.xml SRC_DEPS= \ - alpha.xml \ - chronology.xml \ themes.xml \ abzoodre.xml \ amoureux.xml \ @@ -91,7 +98,7 @@ debug: echo $(PRINT_STYLES) -%.fo: %.xml $(PRINT_STYLES) $(SRC_DEPS) +%.fo: %.xml $(PRINT_STYLES) $(SRC_DEPS) $(SECTIONS) xsltproc --catalogs --xinclude \ -o $@ $(STYLES_DIR)/poetry_print.xsl $< @@ -101,12 +108,12 @@ fop $< $@ # rm $@.tmp.fo -%.html: %.xml $(HTML_STYLES) $(SRC_DEPS) +%.html: %.xml $(HTML_STYLES) $(SRC_DEPS) $(SECTIONS) xsltproc --catalogs --xinclude \ --stringparam css-base-dir '/~fabien/styles/' \ -o $@ $(STYLES_DIR)/poetry_html.xsl $< -%/index.html: %.xml $(HTML_STYLES) $(SRC_DEPS) +%/index.html: %.xml $(HTML_STYLES) $(SRC_DEPS) $(SECTIONS) rm -rf $(dir $@) mkdir -p $(dir $@) xsltproc --catalogs --xinclude \ diff -r 812a7a38b95a -r fa0c9cb0ea30 alpha.xml --- a/alpha.xml Thu Aug 10 16:54:47 2006 -0400 +++ b/alpha.xml Thu Aug 10 16:55:06 2006 -0400 @@ -1,10 +1,11 @@ -
+
Index alphabétique + Ceci est l'index alphabétique de mes poèmes. +
A