diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-08-27 23:54:10 +0000 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-08-27 23:54:10 +0000 |
| commit | a00752d9d68b00c319bea79afa43d4b118fc216e (patch) | |
| tree | fe5dfba02569a8bd17744163cb415497c221a54d /README.md | |
| parent | 0846a40229ad8753419a0ab8a303d3a293df305e (diff) | |
| download | nimisewi_c-a00752d9d68b00c319bea79afa43d4b118fc216e.tar.gz nimisewi_c-a00752d9d68b00c319bea79afa43d4b118fc216e.zip | |
use gnu autotools build system for configuring.v0.1.0
this was kinda tough, but interesting.
FossilOrigin-Name: b881bb67b683313959c94ce172b9fb307400c0f43a262f82ab2d3b2c1a8cb557
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -13,6 +13,7 @@ installation is very straightforward: ```terminal $ fsl clone https://fsl.aaoth.xyz/nimisewi.c $ cd nimisewi +$ ./configure $ make $ doas make install ``` @@ -21,8 +22,8 @@ if you want to use nimisewi as cgi script, you can compile it with: ```terminal $ make distclean -$ configure --static # if your cgi will be served from chroot -$ make cgi +$ ./configure --static # if your cgi will be served from chroot +$ make nimisewi.cgi ``` or if you want a cgi script for gemini protocol, run: @@ -30,10 +31,10 @@ or if you want a cgi script for gemini protocol, run: ```terminal $ make distclean $ configure --static # if your cgi will be served from chroot -$ make cgi_gemini +$ make nimisewi_gemini.cgi ``` -now throw that `nimisewi.cgi` into your cgi-bin folder and serve it as you wish. +now throw that `nimisewi.cgi` or `nimisewi_gemini.cgi` into your cgi-bin folder and serve it as you wish. see examples here: @@ -42,7 +43,7 @@ see examples here: ## usage -``` +```terminal $ nimisewi nanpa apeja pi sin len @@ -52,11 +53,12 @@ nanpa apeja pi sin len to add new words, edit `nimitoki.txt` file. add one word per line. -then, rebuild `nimitoki.c` and `nimitoki.h` and then relink the whole program. +then, just clean everything and recompile the program. ```terminal $ vim nimitoki.txt $ make distclean +$ ./configure $ make ... ``` |
