1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-23 09:55:32 +02:00

cameo/templates/mkmk-simple: make $NAME.drl optional

pcbnew will not generate a drill file if the board that has neither
vias nor through-hole pads, so we shouldn't insist on it existing
either.
This commit is contained in:
Werner Almesberger 2014-04-27 10:45:54 -03:00
parent 453f64e4fe
commit 671b74d81c

View File

@ -74,7 +74,7 @@ z -$BOARD_Z # board thickness
z -0.5mm # tool extra depth z -0.5mm # tool extra depth
clear clear
excellon ../$NAME.drl `[ -r ../$NAME.drl ] && echo excellon ../$NAME.drl`
`[ -r ../$NAME-NPTH.drl ] && echo excellon ../$NAME-NPTH.drl` `[ -r ../$NAME-NPTH.drl ] && echo excellon ../$NAME-NPTH.drl`
drill $DRILL drill $DRILL
optimize optimize