summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2b91662..11e3aef 100644
--- a/Makefile
+++ b/Makefile
@@ -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