fix: change prerequisite for pdf generation
This commit is contained in:
parent
9feef7a57e
commit
a9a2a53645
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
$(PLANTUML_DEST_DIR)/%.uml.svg: $(PLANTUML_SRC_DIR)/%.uml | $(PLANTUML_DEST_DIR)
|
||||||
podman run -i plantuml/plantuml plantuml -pipe -tsvg < $< > $@
|
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 < $< > $@
|
#podman run -i plantuml/plantuml plantuml -pipe -tpdf < $< > $@
|
||||||
rsvg-convert -f pdf -o $@ $<
|
rsvg-convert -f pdf -o $@ $<
|
||||||
|
|
||||||
|
@ -80,3 +80,4 @@ plantuml-info:
|
||||||
@echo "PLANTUML_UML_SVG: $(PLANTUML_UML_SVG)"
|
@echo "PLANTUML_UML_SVG: $(PLANTUML_UML_SVG)"
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue