fix: change prerequisite for pdf generation

This commit is contained in:
Glenn Y. Rolland 2024-01-05 21:41:37 +01:00
parent 9feef7a57e
commit a9a2a53645

View file

@ -33,7 +33,7 @@ $(PLANTUML_DEST_DIR)/%.uml.png: $(PLANTUML_SRC_DIR)/%.uml | $(PLANTUML_DEST_DIR)
$(PLANTUML_DEST_DIR)/%.uml.svg: $(PLANTUML_SRC_DIR)/%.uml | $(PLANTUML_DEST_DIR)
podman run -i plantuml/plantuml plantuml -pipe -tsvg < $< > $@
$(PLANTUML_DEST_DIR)/%.uml.pdf: $(PLANTUML_SRC_DIR)/%.uml.svg | $(PLANTUML_DEST_DIR)
$(PLANTUML_DEST_DIR)/%.uml.pdf: $(PLANTUML_DEST_DIR)/%.uml.svg | $(PLANTUML_DEST_DIR)
#podman run -i plantuml/plantuml plantuml -pipe -tpdf < $< > $@
rsvg-convert -f pdf -o $@ $<
@ -80,3 +80,4 @@ plantuml-info:
@echo "PLANTUML_UML_SVG: $(PLANTUML_UML_SVG)"
.SUFFIXES: