aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-06-23 14:37:05 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2021-06-23 14:42:04 +0100
commite11030375845ce40359c9a90122e686d4d58f113 (patch)
tree231cf08aaf0c0d6461f9309b15c98964399f2fdc
parent3da6985b6b9598e8fb4b5f71e09c4460c23d4255 (diff)
downloadgpigeon-e11030375845ce40359c9a90122e686d4d58f113.tar.gz
gpigeon-e11030375845ce40359c9a90122e686d4d58f113.zip
easier installation instructions
-rw-r--r--Makefile1
-rw-r--r--README.md8
2 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a31c7df..3db5c01 100644
--- a/Makefile
+++ b/Makefile
@@ -136,6 +136,7 @@ gpigeon: gpigeon-template.cgi link-tmpl-template.cgi
@printf "\nDone preparing files. You can now type\nsudo make install\nin your terminal.\n"
install:
+ $(MAKE) gpigeon;
mkdir -p $(DESTDIR)$(COOKIES_DIR);
mkdir -m700 -p $(DESTDIR)$(_GPG_HOMEDIR);
GNUPGHOME="$(DESTDIR)$(_GPG_HOMEDIR)" gpg --import gpg.txt; \
diff --git a/README.md b/README.md
index 4065f37..9a27592 100644
--- a/README.md
+++ b/README.md
@@ -48,14 +48,16 @@ Installation
Don't forget to copy `config.def.mk` into `config.mk` and tune
the variables to your liking. Then, you can run the good old:
-```
-make
-make install #you'll maybe need sudo though
+```bash
+# you will need to do "sudo make install" if you
+# are a non root user
+make install
```
You should also look in the
[gpigeon-template.cgi](https://git.les-miquelots.net/gpigeon/plain/gpigeon-template.cgi)
and [link-tmpl-template.cgi](https://git.les-miquelots.net/gpigeon/plain/link-tmpl-template.cgi) source code, you should figure things out quickly.
+
**Hint**: look for variables values ending in _goes_here_.
Your nginx configuration should look like this: