Mercurial > paster
changeset 13:32b063f6bb2c
misc: update documentation
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 06 Feb 2020 10:40:32 +0100 |
parents | 93f0440d452e |
children | a5035bcbf7a8 |
files | CONTRIBUTE.md CREDITS.md INSTALL.md Makefile |
diffstat | 4 files changed, 19 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/CONTRIBUTE.md Thu Feb 06 10:29:02 2020 +0100 +++ b/CONTRIBUTE.md Thu Feb 06 10:40:32 2020 +0100 @@ -1,5 +1,5 @@ paster CONTRIBUTING GUIDE -=============================== +========================= Read this guide if you want to contribute to paster. The purpose of this document is to describe the steps to submit a patch.
--- a/CREDITS.md Thu Feb 06 10:29:02 2020 +0100 +++ b/CREDITS.md Thu Feb 06 10:40:32 2020 +0100 @@ -4,8 +4,10 @@ Libraries and projects ---------------------- +- [curl][], convenient networking library, - [kcgi][], minimal CGI/FastCGI library for C, - [sqlite][], most used database in the world. +[curl]: https://curl.haxx.se [kcgi]: https://kristaps.bsd.lv/kcgi [sqlite]: https://www.sqlite.org
--- a/INSTALL.md Thu Feb 06 10:29:02 2020 +0100 +++ b/INSTALL.md Thu Feb 06 10:40:32 2020 +0100 @@ -1,5 +1,5 @@ -pasterd INSTALL -=============== +paster INSTALL +============== Installation instructions. @@ -7,7 +7,8 @@ ------------ - [kcgi][], minimal CGI/FastCGI library for C, -- [sqlite][], most used database in the world. +- [sqlite][], most used database in the world, +- [curl][], (Optional) only for `paster(8)` client. Basic installation ------------------ @@ -19,5 +20,16 @@ $ make # sudo make install +To only install the web application: + + $ make pasterd + # make install-pasterd + +To only install the client: + + $ make paster + # make install-paster + +[curl]: https://curl.haxx.se [kcgi]: https://kristaps.bsd.lv/kcgi [sqlite]: https://www.sqlite.org
--- a/Makefile Thu Feb 06 10:29:02 2020 +0100 +++ b/Makefile Thu Feb 06 10:40:32 2020 +0100 @@ -19,7 +19,7 @@ .POSIX: CC= cc -CFLAGS= -Wall -Wextra -std=c18 -pedantic -D_XOPEN_SOURCE=700 -DNDEBUG -O3 +CFLAGS= -std=c18 -pedantic -D_XOPEN_SOURCE=700 -DNDEBUG -O3 LDFLAGS= -static -lkcgi -lkcgihtml -lz SRCS= config.c database.c http.c log.c pasterd.c paste.c util.c