From 671b74d81c9f203f1051e21d62c88029a689019c Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 27 Apr 2014 10:45:54 -0300 Subject: [PATCH] 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. --- cameo/templates/mkmk-simple | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cameo/templates/mkmk-simple b/cameo/templates/mkmk-simple index 177f554..9d3350d 100755 --- a/cameo/templates/mkmk-simple +++ b/cameo/templates/mkmk-simple @@ -74,7 +74,7 @@ z -$BOARD_Z # board thickness z -0.5mm # tool extra depth clear -excellon ../$NAME.drl +`[ -r ../$NAME.drl ] && echo excellon ../$NAME.drl` `[ -r ../$NAME-NPTH.drl ] && echo excellon ../$NAME-NPTH.drl` drill $DRILL optimize