equal
deleted
inserted
replaced
43 HTML_STYLES=$(STYLES) $(addprefix $(STYLES_DIR)/,html.xsl poetry_html.xsl) |
43 HTML_STYLES=$(STYLES) $(addprefix $(STYLES_DIR)/,html.xsl poetry_html.xsl) |
44 PRINT_STYLES=$(STYLES) $(addprefix $(STYLES_DIR)/,print.xsl poetry_print.xsl masters_print.xsl) |
44 PRINT_STYLES=$(STYLES) $(addprefix $(STYLES_DIR)/,print.xsl poetry_print.xsl masters_print.xsl) |
45 DTD=$(addprefix $(DTD_DIR)/,poetry.dtd) |
45 DTD=$(addprefix $(DTD_DIR)/,poetry.dtd) |
46 SGML_CATALOG_FILES=$(TOP)/catalog |
46 SGML_CATALOG_FILES=$(TOP)/catalog |
47 export SGML_CATALOG_FILES |
47 export SGML_CATALOG_FILES |
48 xml_validate=xmllint --catalogs --xinclude --valid --noout $(1) |
48 xml_validate=xmllint --catalogs --valid --noout $(1) |
|
49 xml_post_validate=xmllint --catalogs --xinclude --postvalid --noout $(1) |
49 html_validate=xmllint --xinclude --valid --noout $(1) |
50 html_validate=xmllint --xinclude --valid --noout $(1) |
50 |
51 |
51 #REMOTE_DIR=o:public_html/poesie |
52 #REMOTE_DIR=o:public_html/poesie |
52 # FOP=xmlto pdf |
53 # FOP=xmlto pdf |
53 FOP=fop |
54 FOP=fop |
65 |
66 |
66 install: $(OUTPUT) |
67 install: $(OUTPUT) |
67 [ -d $(INSTALL_DIR) ] || mkdir -p $(INSTALL_DIR) |
68 [ -d $(INSTALL_DIR) ] || mkdir -p $(INSTALL_DIR) |
68 cp -a $(OUTPUT)* $(INSTALL_DIR) |
69 cp -a $(OUTPUT)* $(INSTALL_DIR) |
69 |
70 |
70 validate: $(SRCS) $(addsuffix -validate,$(SRC_DEPS)) |
71 validate: $(addsuffix -validate,$(SRC_DEPS) $(SRCS)) |
71 $(call xml_validate,$<) |
72 $(call xml_post_validate,$(SRCS)) |
72 |
73 |
73 %-validate: % |
74 %-validate: % |
74 $(call xml_validate,$<) |
75 $(call xml_validate,$<) |
75 |
76 |
76 clean: |
77 clean: |