Makefile
branchpoesie
changeset 31 b05681f420f4
parent 30 fa0c9cb0ea30
child 34 1dbea8c79a01
--- a/Makefile	Thu Aug 10 16:55:06 2006 -0400
+++ b/Makefile	Sun Jan 14 22:15:25 2007 -0500
@@ -9,14 +9,14 @@
 
 # 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"
+# book and ecjdr.  I should find a solution for this kind of "mixed"
 # (internal|external) links when using xinclude.  Better would be to
 # not used xinclude at all.
 
 SECTIONS=alpha.xml				\
+	themes.xml				\
 	chronology.xml
 SRC_DEPS=					\
-	themes.xml				\
 	abzoodre.xml				\
 	amoureux.xml				\
 	apprends.xml				\
@@ -83,8 +83,11 @@
 	[ -d $(INSTALL_DIR) ] || mkdir -p $(INSTALL_DIR)
 	cp -a $(OUTPUT)* $(INSTALL_DIR)
 
-validate: $(addsuffix -validate,$(SRC_DEPS) $(SRCS))
-	$(call xml_post_validate,$(SRCS))
+validate: $(SRCS) $(SECTIONS) $(addsuffix -validate,$(SRC_DEPS))
+	$(call xml_post_validate,$<)
+
+post-validate: $(SRCS) $(SECTIONS) $(SRC_DEPS)
+	$(call xml_post_validate,$<)
 
 %-validate: %
 	$(call xml_validate,$<)