Makefile
branchpoesie
changeset 31 b05681f420f4
parent 30 fa0c9cb0ea30
child 34 1dbea8c79a01
equal deleted inserted replaced
30:fa0c9cb0ea30 31:b05681f420f4
     7 INSTALL_DIR=$(TOP)/install
     7 INSTALL_DIR=$(TOP)/install
     8 SRCS=poetry.xml 
     8 SRCS=poetry.xml 
     9 
     9 
    10 # Currently, those sections doesn't compiled because of an invalid
    10 # Currently, those sections doesn't compiled because of an invalid
    11 # link references.  I have a similar problem with the nargir source
    11 # link references.  I have a similar problem with the nargir source
    12 # book and ecjdr.  I should find a solutions for this kind of "mixed"
    12 # book and ecjdr.  I should find a solution for this kind of "mixed"
    13 # (internal|external) links when using xinclude.  Better would be to
    13 # (internal|external) links when using xinclude.  Better would be to
    14 # not used xinclude at all.
    14 # not used xinclude at all.
    15 
    15 
    16 SECTIONS=alpha.xml				\
    16 SECTIONS=alpha.xml				\
       
    17 	themes.xml				\
    17 	chronology.xml
    18 	chronology.xml
    18 SRC_DEPS=					\
    19 SRC_DEPS=					\
    19 	themes.xml				\
       
    20 	abzoodre.xml				\
    20 	abzoodre.xml				\
    21 	amoureux.xml				\
    21 	amoureux.xml				\
    22 	apprends.xml				\
    22 	apprends.xml				\
    23 	belle.xml				\
    23 	belle.xml				\
    24 	coeur.xml				\
    24 	coeur.xml				\
    81 
    81 
    82 install: $(OUTPUT)
    82 install: $(OUTPUT)
    83 	[ -d $(INSTALL_DIR) ] || mkdir -p $(INSTALL_DIR)
    83 	[ -d $(INSTALL_DIR) ] || mkdir -p $(INSTALL_DIR)
    84 	cp -a $(OUTPUT)* $(INSTALL_DIR)
    84 	cp -a $(OUTPUT)* $(INSTALL_DIR)
    85 
    85 
    86 validate: $(addsuffix -validate,$(SRC_DEPS) $(SRCS))
    86 validate: $(SRCS) $(SECTIONS) $(addsuffix -validate,$(SRC_DEPS))
    87 	$(call xml_post_validate,$(SRCS))
    87 	$(call xml_post_validate,$<)
       
    88 
       
    89 post-validate: $(SRCS) $(SECTIONS) $(SRC_DEPS)
       
    90 	$(call xml_post_validate,$<)
    88 
    91 
    89 %-validate: %
    92 %-validate: %
    90 	$(call xml_validate,$<)
    93 	$(call xml_validate,$<)
    91 
    94 
    92 clean:
    95 clean: