9 lines
225 B
Makefile
9 lines
225 B
Makefile
# -*- Makefile -*-
|
|
|
|
%-fab.zip : %-fab.kicad_pcb
|
|
python ../kicad-scripts/kicad-fab.py $<
|
|
zip -r $@ plot/
|
|
|
|
%-fab.kicad_pcb : %.kicad_pcb
|
|
sed "s/%%gitversion%%/`git log --date=short --pretty=format:'%h@%cd' -n 1`/" < $^ > $@
|