fix(linux): Fix Makefile and instructions for building

Building km-config now requires an additional step so that
generates `lang_tags_map.py`. During a package build this happens in
`reconf.sh`. This change updates the documentation, and also adds
this build step to the Makefile, so that the file gets generated
when building from the command line.

Closes #5074.
This commit is contained in:
Eberhard Beilharz 2021-05-27 18:39:01 +02:00
parent 6c482e8fc4
commit fd15bf4eb3
No known key found for this signature in database
GPG key ID: 64A39A9E98B53105
2 changed files with 10 additions and 1 deletions

View file

@ -1,8 +1,11 @@
#!/usr/bin/make
default: clean version man
default: clean version man langtags
python3 setup.py build
langtags:
cd buildtools && python3 ./build-langtags.py
install: # run as sudo
pip3 install qrcode sentry-sdk
python3 setup.py install

View file

@ -35,6 +35,12 @@ sudo cp com.keyman.gschema.xml /usr/share/glib-2.0/schemas
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
```
### Standards data file
Running `km-config` requires a language tag mapping file
`keyman_config/standards/lang_tags_map.py`. This file gets generated during a package
build, and also when running `make`.
### Installing manually from the repo
`make && sudo make install` will install locally to `/usr/local`