summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d9f77c5f..cad1e342 100644
--- a/Makefile
+++ b/Makefile
@@ -49,8 +49,12 @@ shell:
make _run_cmd CMD=/bin/bash
-regen:
- python3 genmap.py
+regen: _testenv
+ for file in kvmd/data/keymap.yaml hid/src/keymap.h; do \
+ docker run --user `id -u`:`id -g` --rm \
+ --volume `pwd`:/src \
+ -it $(TESTENV_IMAGE) bash -c "cd src && ./genmap.py keymap.in $$file.mako $$file"; \
+ done
release: