Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 158f546f rédigé par Kubat's avatar Kubat
Parcourir les fichiers

DOC: Update README and manpage generation

parent 3702a796
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!105Refactor and more
......@@ -12,11 +12,9 @@ Prerequisites:
- [autotools](https://www.gnu.org/software/autoconf/) only if you change the
configuration (if you only edit existing files you won't need it)
- a C compiler with C18 support (e.g. `gcc>8.1`, `clang>7.0`)
- a C compiler with C11 support
- the [sqlite3](https://www.sqlite.org/) development library, version 3.31.0 or
newer for [generated columns](https://www.sqlite.org/gencol.html) support
- the [json-c](https://github.com/json-c/json-c) development library
- the [libcurl](https://github.com/curl/curl) developmemt library
- a POSIX.1-2008 compatible system (i.e. not MS Windows)
For the module sdl2, you will need the folowing prerequisites:
......@@ -24,6 +22,11 @@ For the module sdl2, you will need the folowing prerequisites:
- the [mpv](https://mpv.io/) development library
- the [sdl2](https://www.libsdl.org/) development library
For the module repo, you will need the folowing prerequisites:
- the [json-c](https://github.com/json-c/json-c) development library
- the [libcurl](https://github.com/curl/curl) developmemt library
You will also need the following executables, with their path setted in the
configuration file:
......@@ -84,6 +87,18 @@ commands are here for that.
To run lektor, you can simply run the binary like: `./lektord`.
If lektord did not exited normally (i.e. without the `lkt adm kill` command), the
database will still store the fact that lektord is running. To by-pass it, you
will need to launch lektord with the `-F` (forced) option, like:
```
lektord -F
```
It is not recommended to launch always lektord with the `-F` option, because that
way you could launch multiple instances of the lektod daemon, which could results
in undefined behaviours.
Lektor will use specialized software (hwdec set to yes), if you have an nvidia
card with optimus (in almose every laptop), please use `optirun` or `primusrun`:
......
*.man
notrans_dist_man1_MANS = lektor.man lektord.man lkt.man
MAN = $(abs_top_srcdir)/scripts/manpager.bash
MAN = $(abs_top_srcdir)/scripts/manpage.bash
.template.man:
$(MAN) $<
......@@ -207,7 +207,7 @@ LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAKEINFO = @MAKEINFO@
MAN = $(abs_top_srcdir)/scripts/manpager.bash
MAN = $(abs_top_srcdir)/scripts/manpage.bash
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
NM = @NM@
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter