Makefile
branchecjdr
changeset 82 e3cf708e9394
parent 75 4c6e0e62159f
child 87 bbe189163a7a
--- a/Makefile	Mon Mar 20 13:28:17 2006 -0500
+++ b/Makefile	Wed Mar 29 14:16:35 2006 -0500
@@ -5,7 +5,7 @@
 TOP=`pwd`
 SRC_DIR=`pwd`
 INSTALL_DIR=$(TOP)/install
-FR_ARTICLES=couleurs jjch credo systemes resolution
+FR_ARTICLES=couleurs jjch credo systemes resolution mecanique
 EN_ARTICLES=colors
 UNPUBLISHED=dri-aido jdrdef jdrl 
 BOOKS=jeuderologie rpgtheory
@@ -59,10 +59,10 @@
 purge:
 	rm -rf $(TARGETS)
 
-$(TARGETS): 
+$(TARGETS):
 	$(MAKE) -f $(SRC_DIR)/Makefile $@.pdf $@.txt $@/index.html $@.html
 
-%.fo: %.xml $(SRC_DIR)/print.xsl
+%.fo: %.xml $(SRC_DIR)/print.xsl $(SRC_DIR)/common.xsl
 	xsltproc --xinclude -o $@ $(SRC_DIR)/print.xsl $< 
 
 TEX_OPTIONS=-interaction=errorstopmode -file-line-error-style
@@ -85,11 +85,11 @@
 %.txt: %.html
 	w3m -dump $< > $@
 
-%/index.html: %.xml $(SRC_DIR)/chunk.xsl
+%/index.html: %.xml $(SRC_DIR)/chunk.xsl $(SRC_DIR)/common.xsl
 	rm -rf $(dir $@)
 	xsltproc --xinclude -o $(dir $@) $(SRC_DIR)/chunk.xsl $<
 
-%.html: %.xml $(SRC_DIR)/html.xsl
+%.html: %.xml $(SRC_DIR)/html.xsl $(SRC_DIR)/common.xsl
 	xsltproc --xinclude -o $@ $(SRC_DIR)/html.xsl $<
 
 .PHONY: $(TARGETS) $(addsuffix -do,$(TARGETS))