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 \