summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-14 12:28:57 +0300
committerDevaev Maxim <[email protected]>2020-07-14 12:28:57 +0300
commit9b3e1137722276cb471a24591f8b8ab7adaca276 (patch)
treeb72b0acc98e6ed8eba9b06c3e2861608695b9dbc /Makefile
parente2f2e8b3595f475222dc11067ef33bfbf410711d (diff)
pug
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 17 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 85f110b5..b8af3d14 100644
--- a/Makefile
+++ b/Makefile
@@ -132,11 +132,23 @@ run-vnc: testenv
regen: testenv
- for file in kvmd/keyboard/mappings.py 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
+ docker run --user `id -u`:`id -g` --rm \
+ --volume `pwd`:/src \
+ -it $(TESTENV_IMAGE) bash -c "cd src \
+ && ./genmap.py keymap.in kvmd/keyboard/mappings.py.mako kvmd/keyboard/mappings.py \
+ && ./genmap.py keymap.in hid/src/keymap.h.mako hid/src/keymap.h \
+ "
+
+
+pug: testenv
+ docker run --user `id -u`:`id -g` --rm \
+ --volume `pwd`:/src \
+ -it $(TESTENV_IMAGE) bash -c "cd src \
+ && pug --pretty web/index.pug -o web \
+ && pug --pretty web/login/index.pug -o web/login \
+ && pug --pretty web/ipmi/index.pug -o web/ipmi \
+ && pug --pretty web/vnc/index.pug -o web/vnc \
+ "
release: