Commit 92310196 authored by Leigh Stoller's avatar Leigh Stoller

Install the LICENSE file into the www/doc directory.

Add a reminder to the cvsweb (short) header reminding users of the
LICENSE agreement, and present a link to it.
parent 949bb7f1
......@@ -155,6 +155,7 @@ install: $(addprefix $(INSTALL_WWWDIR)/, $(ALLFILES)) \
$(addprefix $(INSTALL_WWWDIR)/autostatus-icons/, $(ALLICONS)) \
$(addprefix $(INSTALL_LIBEXECDIR)/, websearch) \
$(addprefix $(INSTALL_WWWDIR)/cvsweb/, $(ALLCVSWEB)) \
$(INSTALL_WWWDIR)/doc/LICENSE.txt \
$(addprefix $(INSTALL_ETCDIR)/, swish.conf)
(swish-e -c ./swish.conf)
cd $(INSTALL_WWWDIR) && \
......@@ -166,6 +167,10 @@ install: $(addprefix $(INSTALL_WWWDIR)/, $(ALLFILES)) \
post-install:
$(INSTALL_WWWDIR)/doc/LICENSE.txt: $(TESTBED_SRCDIR)/LICENSE
@echo "Installing $<"
-mkdir -p $(patsubst %/,%,$(dir $@))
$(INSTALL_DATA) $(subst $$,\$$,$<) $(subst $$,\$$,$@)
$(INSTALL_WWWDIR)/%: %
@echo "Installing $<"
......
......@@ -9,7 +9,7 @@
# based on work by Bill Fenner <fenner@FreeBSD.org>
#
# $FreeBSD: projects/cvsweb/cvsweb.conf,v 1.36.2.3 2002/09/23 05:30:17 scop Exp $
# $Id: cvsweb.conf,v 1.3 2004-12-13 19:28:11 stoller Exp $
# $Id: cvsweb.conf,v 1.4 2005-02-20 15:17:37 stoller Exp $
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 1.27 2001/08/01 09:48:39 knu Exp $
#
###
......@@ -223,6 +223,13 @@ $short_instruction = <<EOT;
Click on a directory to enter that directory. Click on a file to display
its revision history and to get a chance to display diffs between revisions.
</p>
<p>
<b>Please remember that the Emulab
<a href="http://www.emulab.net/doc/docwrapper.php3?docname=LICENSE.txt">
<b>LICENSE</b></a> states that this source code is 1) for use only for
research and education, 2) cannot be used for commercial purposes,
and, 3) cannot be redistributed outside your research group.</b>
</p>
EOT
# used icons; if icon-url is empty, the text representation is used; if
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment