diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2021-04-16 23:01:38 +0100 |
---|---|---|
committer | Miquel Lionel <lionelmiquel@sfr.fr> | 2021-04-16 23:08:26 +0100 |
commit | 10231a07a1ea47f6de56a468dd1daa2068ae50ae (patch) | |
tree | b89235db28acd866e7207f95089d1e7f4be63809 /Makefile | |
parent | f65887f1ee0a94aa2c81140d29d0634f1be7b3c3 (diff) | |
download | gpigeon-10231a07a1ea47f6de56a468dd1daa2068ae50ae.tar.gz gpigeon-10231a07a1ea47f6de56a468dd1daa2068ae50ae.zip |
reinstate index.html, static is king
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -7,7 +7,8 @@ install: mkdir -p $(DESTDIR)$(_GPG_HOMEDIR) chmod 700 $(DESTDIR)$(_GPG_HOMEDIR) mkdir -p $(DESTDIR)$(WWWPREFIX)/cgi-bin/l - cp -f gpigeon-template.cgi $(DESTDIR)$(WWWPREFIX)/cgi-bin/gpigeon.cgi + cp -f gpigeon-template.cgi $(DESTDIR)$(WWWPREFIX)/cgi-bin/ + cp -f index.html $(DESTDIR)$(WWWPREFIX)/ chmod 700 $(DESTDIR)$(WWWPREFIX)/cgi-bin/gpigeon.cgi if test -z '$(ARGON2ID_HASH)'; then \ perl genpass.pl > genpass.txt; \ @@ -41,11 +42,11 @@ install: fi sed -e "s|has_mailserver_goes_here|$(HAS_MAILSERVER)|g" -i $(DESTDIR)$(LINK_TEMPLATE_PATH) sed -e "s|gpg_homedir_goes_here|$(_GPG_HOMEDIR)|g" -i $(DESTDIR)$(LINK_TEMPLATE_PATH) - cp -f styles.css $(DESTDIR)$(WWWPREFIX) + cp -f styles.css $(DESTDIR)$(WWWPREFIX)/ chmod 644 $(DESTDIR)$(WWWPREFIX)/styles.css - cp -f favicon.ico $(DESTDIR)$(WWWPREFIX) + cp -f favicon.ico $(DESTDIR)$(WWWPREFIX)/ chmod 644 $(DESTDIR)$(WWWPREFIX)/favicon.ico - cp -rf merci $(DESTDIR)$(PREFIX) + cp -rf merci $(DESTDIR)$(PREFIX)/ chmod 755 -R $(DESTDIR)$(PREFIX) if test -e 'genpass.txt'; then \ printf "\n\nThe variable ARGON2ID_HASH wasn't declared thus a password and its argon2id hash as been generated (look into genpass.txt)."; \ |