make: use kicad-cli to render schematic
This commit is contained in:
parent
5849e04d54
commit
ad93fccfcd
5
Makefile
5
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user