From 102fd5aafa4f36572ae9f1d8083e058b0f47676c Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 29 Feb 2020 09:12:57 +0100 Subject: Move built artifacts to _build --- README.rst | 6 +++--- gen.sh | 58 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 33 insertions(+), 31 deletions(-) diff --git a/README.rst b/README.rst index 25937c2..229c1b6 100644 --- a/README.rst +++ b/README.rst @@ -47,7 +47,7 @@ issues. Then simply run ./gen.sh > build.ninja && ninja -to analyze them and create pretty pictures as well as statistics in ``doc/``. +to analyze them and create pretty pictures as well as statistics in ``_build/report``. .. _me: lars+lulua@6xq.net @@ -65,11 +65,11 @@ Share the folder `doc/_temp/winkbd` with a Windows system, install `Microsoft Keyboard Layout Creator 1.4`_ (MSKLC; the Windows Driver Kit (WDK) would work too, but is much larger), adjust ``make.bat`` pointing to your MSKLC installation and run it. This should generate two directories, ``System32`` and -``SysWOW64``, which must be copied back to `doc/_temp/winkbd`. Then run: +``SysWOW64``, which must be copied back to `_build/_temp/winkbd`. Then run: .. code:: bash - ninja doc/_build/ar-lulua-w64.zip + ninja _build/report/ar-lulua-w64.zip .. _Microsoft Keyboard Layout Creator 1.4: https://www.microsoft.com/en-us/download/details.aspx?id=22339 diff --git a/gen.sh b/gen.sh index 654a55d..c473563 100755 --- a/gen.sh +++ b/gen.sh @@ -1,18 +1,20 @@ #!/bin/sh # Generate build.ninja that builds the docs/stats/… +corpusdir=corpus layouts="ar-lulua ar-asmo663 ar-linux ar-malas ar-phonetic ar-osman ar-khorshid" layoutsXmodmap="ar-lulua" -corpora="`ls corpus`" +corpora="`ls ${corpusdir}`" cat <