summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-04-11 21:13:06 +0000
committerPeter Palfrader <peter@palfrader.org>2005-04-11 21:13:06 +0000
commit9ab675972d33f751a28eb312ff36711685c427f8 (patch)
treee9e51a1d55bb9d1712e19a6fca6eb0b30999f4cf
parent8a7a689b7d3021bad3cd174f7b8a899195f21d86 (diff)
Add tor-running-routers and mixminion
-rw-r--r--web/Makefile.am4
-rw-r--r--web/mixminion-nodes/Makefile.am28
-rw-r--r--web/tor-running-routers/Makefile.am28
3 files changed, 59 insertions, 1 deletions
diff --git a/web/Makefile.am b/web/Makefile.am
index c2a82c4..f23c2f9 100644
--- a/web/Makefile.am
+++ b/web/Makefile.am
@@ -5,9 +5,11 @@ SUBDIRS = \
latency \
load \
meta \
+ mixminion-nodes \
rot26 \
template \
- tls
+ tls \
+ tor-running-routers
based_in = htdocs
include $(top_srcdir)/Makefile.common
diff --git a/web/mixminion-nodes/Makefile.am b/web/mixminion-nodes/Makefile.am
new file mode 100644
index 0000000..c2176e0
--- /dev/null
+++ b/web/mixminion-nodes/Makefile.am
@@ -0,0 +1,28 @@
+SUBDIRS =
+
+based_in = htdocs
+include $(top_srcdir)/Makefile.common
+
+doc_DATA = result/index.html
+
+result/index.html: $(MIXMINION_BASE)/result/index.html
+ rm -rf result
+ cp -a $(MIXMINION_BASE)/result result
+
+ echo "ExpiresActive On" > result/.htaccess
+ echo "ExpiresByType image/png \"modification plus 4 hours 20 minutes\"" >> result/.htaccess
+ echo "ExpiresByType text/html \"modification plus 4 hours 20 minutes\"" >> result/.htaccess
+
+clean:
+ rm -rf result
+
+install-data-local: result/index.html
+ [ -d $(docdir) ] || mkdir $(docdir)
+ cp -a result/*.png $(docdir)
+ cp -a result/*.html $(docdir)
+ cp -a result/.htaccess $(docdir)
+
+uninstall-local:
+ rm -f $(docdir)/*.png
+ rm -f $(docdir)/*.html
+ rm -f $(docdir)/.htaccess
diff --git a/web/tor-running-routers/Makefile.am b/web/tor-running-routers/Makefile.am
new file mode 100644
index 0000000..e31396a
--- /dev/null
+++ b/web/tor-running-routers/Makefile.am
@@ -0,0 +1,28 @@
+SUBDIRS =
+
+based_in = htdocs
+include $(top_srcdir)/Makefile.common
+
+doc_DATA = result/index.html
+
+result/index.html: $(TOR_RUNNING_ROUTERS_BASE)/result/index.html
+ rm -rf result
+ cp -a $(TOR_RUNNING_ROUTERS_BASE)/result result
+
+ echo "ExpiresActive On" > result/.htaccess
+ echo "ExpiresByType image/png \"modification plus 2 hours 20 minutes\"" >> result/.htaccess
+ echo "ExpiresByType text/html \"modification plus 2 hours 20 minutes\"" >> result/.htaccess
+
+clean:
+ rm -rf result
+
+install-data-local: result/index.html
+ [ -d $(docdir) ] || mkdir $(docdir)
+ cp -a result/*.png $(docdir)
+ cp -a result/*.html $(docdir)
+ cp -a result/.htaccess $(docdir)
+
+uninstall-local:
+ rm -f $(docdir)/*.png
+ rm -f $(docdir)/*.html
+ rm -f $(docdir)/.htaccess