summaryrefslogtreecommitdiffstats
path: root/www/Makefile
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-11-24 16:13:57 +0200
committerTimo Teräs <timo.teras@iki.fi>2010-11-24 16:13:57 +0200
commita0ed0e6bc7809e88ee1272fa9516dd7e3c7e8d2d (patch)
treeb7503d54f52793a9d9c8c931f5fab2089c9db016 /www/Makefile
parent301047f944320fccef17df3431ddd0bd5d1455a0 (diff)
downloadsquark-a0ed0e6bc7809e88ee1272fa9516dd7e3c7e8d2d.tar.bz2
squark-a0ed0e6bc7809e88ee1272fa9516dd7e3c7e8d2d.tar.xz
www: add a set of example pages for block info and captive portalv0.1
Relatively simple set of pages done in haserl. Fixes #448.
Diffstat (limited to 'www/Makefile')
-rw-r--r--www/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
new file mode 100644
index 0000000..e9dcac1
--- /dev/null
+++ b/www/Makefile
@@ -0,0 +1,7 @@
+CGIBIN_FILES = $(wildcard $(src)/*.cgi)
+STATIC_FILES = $(wildcard $(src)/*.png $(src)/*.css)
+
+install:
+ $(INSTALLDIR) $(DESTDIR)$(WWWDIR)/cgi-bin $(DESTDIR)$(WWWDIR)/static
+ $(INSTALL) $(CGIBIN_FILES) $(DESTDIR)$(WWWDIR)/cgi-bin
+ $(INSTALL) $(STATIC_FILES) $(DESTDIR)$(WWWDIR)/static