Store static portal files in repo and install with Makefile
[hcoop/portal.git] / Makefile
index df903ac..305103a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 include Makefile.common
 
-all: install-scripts header.mlt footer.mlt
+all: install-scripts install-static header.mlt footer.mlt
 
 clean:
        rm header.mlt
@@ -19,3 +19,6 @@ install-scripts: scripts/*
        install -m 750 -o hcoop scripts/hcoop_header $(prefix)/bin
        install -m 750 -o hcoop scripts/hcoop_footer $(prefix)/bin
        install -m 750 -o hcoop scripts/hcoop_html $(prefix)/bin
+
+install-static: etc/*
+       install -m 650 -o hcoop etc/tos.*.html $(prefix)/etc/static