summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-13 06:18:33 +0300
committerDevaev Maxim <[email protected]>2019-04-13 06:18:33 +0300
commit0c82937d3c0dfd7c9436a2cec62f9f56a5f11aa8 (patch)
tree6cb55a29950eb75ac6078d362f7b92e56047bfe5 /Makefile
parent5bf758e232361e2b7a6b64e4b1750a10d896bb2d (diff)
refactoring
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: