equal
deleted
inserted
replaced
25 SGML_CATALOG_FILES=$(TOP)/catalog |
25 SGML_CATALOG_FILES=$(TOP)/catalog |
26 export SGML_CATALOG_FILES |
26 export SGML_CATALOG_FILES |
27 |
27 |
28 #OUTPUT=$(foreach target,$(basename $(SRCS)),$(call output,$(target))) |
28 #OUTPUT=$(foreach target,$(basename $(SRCS)),$(call output,$(target))) |
29 OUTPUT=contes.pdf contes/ |
29 OUTPUT=contes.pdf contes/ |
30 xml_validate=xmllint --catalogs --xinclude --valid --noout $(1) |
30 xml_validate=xmllint --catalogs --valid --noout $(1) |
|
31 xml_post_validate=xmllint --catalogs --xinclude --postvalid --noout $(1) |
31 html_validate=xmllint --valid --noout $(1) |
32 html_validate=xmllint --valid --noout $(1) |
32 |
33 |
33 all: $(OUTPUT) |
34 all: $(OUTPUT) |
34 |
35 |
35 #poetry: $(call targets,poetry) $(SRC_DEPS) |
36 #poetry: $(call targets,poetry) $(SRC_DEPS) |
40 |
41 |
41 install: $(OUTPUT) |
42 install: $(OUTPUT) |
42 [ -d $(INSTALL_DIR) ] || mkdir -p $(INSTALL_DIR) |
43 [ -d $(INSTALL_DIR) ] || mkdir -p $(INSTALL_DIR) |
43 cp -a $(OUTPUT)* $(INSTALL_DIR) |
44 cp -a $(OUTPUT)* $(INSTALL_DIR) |
44 |
45 |
45 validate: $(SRCS) $(addsuffix -validate,$(SRC_DEPS)) |
46 validate: $(SRCS) $(addsuffix -validate,$(SRC_DEPS) $(SRCS)) |
46 $(call xml_validate,$<) |
47 $(call xml_post_validate,$<) |
47 |
48 |
48 %-validate: % |
49 %-validate: % |
49 $(call xml_validate,$<) |
50 $(call xml_validate,$<) |
50 |
51 |
51 clean: |
52 clean: |