aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-06-27 15:53:54 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2021-06-27 15:54:20 +0100
commit6cc745d5a0b995c0ad7a61d0c3ab9b2dc2831a8d (patch)
tree0c59c2196ce488b5b909f1bd3b77855188e7320f /Makefile
parent523baac54aedd5c5a35e414ef04fe3b188fb7b55 (diff)
downloadgpigeon-6cc745d5a0b995c0ad7a61d0c3ab9b2dc2831a8d.tar.gz
gpigeon-6cc745d5a0b995c0ad7a61d0c3ab9b2dc2831a8d.zip
make uninstall resulted in disaster, fix this
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3db5c01..3c57612 100644
--- a/Makefile
+++ b/Makefile
@@ -143,7 +143,7 @@ install:
mkdir -p $(DESTDIR)$(WWWPREFIX)/cgi-bin/l
install -Dm700 gpigeon.cgi $(DESTDIR)$(GPIGEON_PATH)
install -Dm600 link-tmpl.cgi $(DESTDIR)$(LINK_TEMPLATE_PATH)
- install -Dm644 index.html favicon.ico styles.css -t $(DESTDIR)$(WWWPREFIX)/
+ install -Dm644 index.html favicon.ico styles.css -t $(DESTDIR)$(WWWPREFIX)/gpigeon/
install -Dm755 merci/* -t $(DESTDIR)$(PREFIX)/merci/
@if test -e '$(WWWDOMAIN).conf'; then\
printf "\nInstalling $(WWWDOMAIN).conf into $(NGINXCONFDIR)\n";\
@@ -155,8 +155,8 @@ nginxconf: nginx-example.conf
uninstall:
- rm -rf $(DESTDIR)$(PREFIX)
- rm -rf $(DESTDIR)$(WWWPREFIX)
+ rm -rf $(DESTDIR)$(PREFIX)/gpigeon
+ rm -rf $(DESTDIR)$(WWWPREFIX)/gpigeon
clean:
rm -f genpass.txt gpg.txt link-tmpl.cgi gpigeon.cgi $(WWWDOMAIN).conf