Makefile
branchcda
changeset 3 dca5a75d3c0e
parent 0 ff2810600648
child 4 99d0c02f5ee4
equal deleted inserted replaced
2:574177bcd7f0 3:dca5a75d3c0e
    15 	$(PDF_OUTPUT)
    15 	$(PDF_OUTPUT)
    16 UPLOAD=$(OUTPUT) cda-perso.sxw cda-perso-alt.sxw presentation.sxi index.fr.html blason.png
    16 UPLOAD=$(OUTPUT) cda-perso.sxw cda-perso-alt.sxw presentation.sxi index.fr.html blason.png
    17 
    17 
    18 all: $(basename $(SRCS)) $(PDF_OUTPUT)
    18 all: $(basename $(SRCS)) $(PDF_OUTPUT)
    19 
    19 
       
    20 validate: cda-validate
       
    21 # need to validate html file also.
       
    22 
       
    23 cda-validate:
       
    24 	xmllint --valid --noout cda.xml
       
    25 
    20 cda: $(call targets,cda)
    26 cda: $(call targets,cda)
       
    27 
    21 
    28 
    22 # title.xsl: title.xml
    29 # title.xsl: title.xml
    23 #	xsltproc -o $@ $(NWALSH_XSL_DIR)/template/titlepage.xsl $<
    30 #	xsltproc -o $@ $(NWALSH_XSL_DIR)/template/titlepage.xsl $<
    24 
    31 
    25 %.fo: %.xml print.xsl titlepage.xsl common.xsl
    32 %.fo: %.xml print.xsl titlepage.xsl common.xsl
    58 clean:
    65 clean:
    59 	rm -f *~ *.fo
    66 	rm -f *~ *.fo
    60 
    67 
    61 purge: clean
    68 purge: clean
    62 	rm -rf $(OUTPUT)
    69 	rm -rf $(OUTPUT)
       
    70 
       
    71 .PHONY: clean install purge validate all