aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: