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:03:02 +0100 |
commit | 0d0ec0c1c57999db567e2a538bdd6e8976a68b8e (patch) | |
tree | b89235db28acd866e7207f95089d1e7f4be63809 /Makefile | |
parent | f65887f1ee0a94aa2c81140d29d0634f1be7b3c3 (diff) | |
download | gpigeon-0d0ec0c1c57999db567e2a538bdd6e8976a68b8e.tar.gz gpigeon-0d0ec0c1c57999db567e2a538bdd6e8976a68b8e.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)."; \ |