Add web page stuff.
authorAndre Noll <maan@systemlinux.org>
Mon, 12 May 2008 13:22:12 +0000 (15:22 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 12 May 2008 13:22:12 +0000 (15:22 +0200)
Makefile
dss.css [new file with mode: 0644]
index.html.in [new file with mode: 0644]

index ca5a1a2952be804192f5bff23a0cc330f059ef21..ae4eda8867448e580d8960c5ddf2d308e1a62542 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,13 @@ dss.1: dss
        man2html $< > $@
 
 clean:
-       rm -f *.o dss dss.1 dss.1.html Makefile.deps *.ppm *.png *~ cmdline.c cmdline.h
-
-
+       rm -f *.o dss dss.1 dss.1.html Makefile.deps *.ppm *.png *~ cmdline.c cmdline.h index.html
+
+index.html: dss.1.html index.html.in INSTALL README
+       sed -e '/@README@/,$$d' index.html.in > $@
+       grutatxt -nb < README >> $@
+       sed -e '1,/@README@/d' -e '/@INSTALL@/,$$d' index.html.in >> $@
+       grutatxt -nb < INSTALL >> $@
+       sed -e '1,/@INSTALL@/d' -e '/@MAN_PAGE@/,$$d' index.html.in >> $@
+       sed -e '1,/Return to Main Contents/d' -e '/Index/,$$d' dss.1.html >> $@
+       sed -e '1,/@MAN_PAGE@/d' index.html.in >> $@
diff --git a/dss.css b/dss.css
new file mode 100644 (file)
index 0000000..2e66695
--- /dev/null
+++ b/dss.css
@@ -0,0 +1,13 @@
+BODY,TD {
+       background-color: #000000;
+       color: #CCCCCC;
+}
+
+HR {
+       background-color: #ffff00;
+}
+
+A {
+       color: #8888ff;
+
+}
diff --git a/index.html.in b/index.html.in
new file mode 100644 (file)
index 0000000..fe06576
--- /dev/null
@@ -0,0 +1,121 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+   "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+       <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>
+       <title>DSS - The dyadic snapshot scheduler</title>
+       <LINK href="dss.css" REL="stylesheet" TYPE="text/css">
+       <link rel="shortcut icon" href="dss.ico">
+</head>
+
+<a name="top"></a>
+<body>
+       <table>
+               <tr>
+                       <td>
+                               <a href="/"><IMG SRC="dss.png" alt="dss"></a>
+                       </td>
+                       <td>
+                               <h1>The dyadic snapshot scheduler</h1>
+                       </td>
+               </tr>
+       </table>
+
+       <hr>
+
+       [<a href="#top">Top</a>]
+       [<a href="#readme">README</a>]
+       [<a href="#download">Download</a>]
+       [<a href="#install">INSTALL</a>]
+       [<a href="#license">License</a>]
+       [<a href="#contact">Contact</a>]
+       [<a href="#manpage">Man page</a>]
+
+       <hr>
+
+       <center>
+               <h2>
+                       <a name="readme">README</a>
+               </h2>
+       </center>
+
+       @README@
+
+       <hr>
+
+
+       <center>
+               <h2>
+                       <a name="download">Download</a>
+               </h2>
+       </center>
+
+       <p>Only the source code is available for download. Either use
+
+               <a href="http://www.kernel.org/pub/software/scm/git/docs/">git</a>
+
+       to clone the dss repository by executing</p>
+
+       <center>
+
+               <tt>git clone git://git.tuebingen.mpg.de/dss</tt>
+
+       </center>
+
+       <p>or go to the
+
+               <a href="http://git-tuebingen.mpg.de/dss">dss gitweb page</a>
+
+       and click on the <em>snapshot</em> link to download a tarball.</p>
+
+       <hr>
+
+       <center>
+               <h2>
+                       <a name="install">INSTALL</a>
+               </h2>
+       </center>
+
+       @INSTALL@
+
+       <hr>
+
+       <center>
+               <h2>
+                       <a name="license">License</a>
+               </h2>
+       </center>
+
+       <p>dss is open source software, licensed under the
+
+       <a
+       href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU
+       General Public License, Version 2</a>.</p>
+
+       <hr>
+
+       <center>
+               <h2>
+                       <a name="contact">Contact</a>
+               </h2>
+       </center>
+
+       <p> Andr&eacute; Noll, <a
+       href="mailto:maan@systemlinux.org">maan@systemlinux.org</a>
+       </p> Comments and bug reports are welcome Please provide
+       enough info such as the version of dss you are using and
+       relevant parts of the logs. Including the string [dss] in
+       the subject line is also a good idea.
+
+       <hr>
+
+       <center>
+               <h2>
+                       <a name="manpage">Man page</a>
+               </h2>
+       </center>
+
+       @MAN_PAGE@
+
+</body> </html>
+