make: use kicad-cli to render schematic

This commit is contained in:
King Kévin 2023-02-06 12:43:39 +01:00
parent 5849e04d54
commit ad93fccfcd
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,7 @@
# project file name (use for schematic and board layout)
NAME ?= template
# path to KiCad CLI
KICAD = kicad-cli-nightly
# path to qeda
QEDA := qeda
# path to InteractiveHtmlBom
@ -44,8 +46,7 @@ lib:
# generate printable version (PDF) of schematic
%.sch.pdf: %.versioned.kicad_sch %.versioned.kicad_pro
eeschema_do export $< .
mv $*.versioned.pdf $@
$(KICAD) sch export pdf --output $@ $<
# generate render from layout (top side)
%.brd-top.png: %.versioned.kicad_pcb