From a1fe10f68443ba8ed7a424ff8e8310391b2cc84d Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sat, 7 Dec 2013 22:39:59 -0500 Subject: [PATCH] fix the layout generation target --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fdacb300..430f45c1 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile BOARD_TAG = micro -MONITOR_PORT = /dev/ttyACM* +MONITOR_PORT = /dev/cu.usbmodem14?1 ARDUINO_LIBS = include build/arduino-mk/Arduino.mk @@ -10,4 +10,4 @@ astyle: astyle --style=linux ArduinoKeyboard.ino *.h generate-keymaps: - find layout -type f -name \*.conf |xargs perl generate-keymaps.pl < + cd layouts && ( find . -type f |xargs -n 1 -I % sh -c 'perl ../tools/generate_keymaps.pl < % > ../layouts-generated/%.h' )