diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2024-02-20 21:17:01 +0100 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2024-02-20 22:13:53 +0100 |
commit | 0effd40bad7ae753102e7040159afd76be4e8732 (patch) | |
tree | 20c80821ba637a395d8874414e00f4d120a837ea /Makefile | |
parent | 42f538cc66546997a166dbe67e489c9afabbb908 (diff) |
browse: http page
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -46,7 +46,7 @@ all: main .c.o: $(CC) -o $@ -c $< $(CFLAGS) -main: util.o mime.o url.o file.o http.o download.o browse.o main.o +main: mime.o url.o template.o file.o http.o download.o browse.o main.o $(CC) -o $@ $> $(LDFLAGS) env: env.o @@ -57,7 +57,19 @@ kcgienv: kcgienv.o install: install -D -o www -g www -m 0500 main /var/www/cgi-bin/vault - install -D -o www -g www -m 0440 template/browse_file.html /var/www/usr/share/vault/template/browse_file.html + install -D -o www -g www -m 0440 template/head.html /var/www/usr/share/vault/template/head.html + install -D -o www -g www -m 0440 template/foot.html /var/www/usr/share/vault/template/foot.html + install -D -o www -g www -m 0440 template/browse_head.html /var/www/usr/share/vault/template/browse_head.html + install -D -o www -g www -m 0440 template/browse_foot.html /var/www/usr/share/vault/template/browse_foot.html + install -D -o www -g www -m 0440 template/browse_item.html /var/www/usr/share/vault/template/browse_item.html + install -D -o www -g www -m 0440 fontawesome-6.5.1/css/fontawesome.css /var/www/vault-static/fontawesome-6.5.1/css/fontawesome.css + gzip -fk /var/www/vault-static/fontawesome-6.5.1/css/fontawesome.css + install -D -o www -g www -m 0440 fontawesome-6.5.1/css/solid.css /var/www/vault-static/fontawesome-6.5.1/css/solid.css + gzip -fk /var/www/vault-static/fontawesome-6.5.1/css/solid.css + install -D -o www -g www -m 0440 fontawesome-6.5.1/webfonts/fa-solid-900.ttf /var/www/vault-static/fontawesome-6.5.1/webfonts/fa-solid-900.ttf + gzip -fk /var/www/vault-static/fontawesome-6.5.1/webfonts/fa-solid-900.ttf + install -D -o www -g www -m 0440 fontawesome-6.5.1/webfonts/fa-solid-900.woff2 /var/www/vault-static/fontawesome-6.5.1/webfonts/fa-solid-900.woff2 + gzip -fk /var/www/vault-static/fontawesome-6.5.1/webfonts/fa-solid-900.woff2 clean: rm -f *.o *.BAK main |