From d1e6b42337c937ed70b4b05f9f4a1678fe49c505 Mon Sep 17 00:00:00 2001 From: Andre Noll <maan@systemlinux.org> Date: Mon, 12 May 2008 15:22:12 +0200 Subject: [PATCH] Add web page stuff. --- Makefile | 13 ++++-- dss.css | 13 ++++++ index.html.in | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 144 insertions(+), 3 deletions(-) create mode 100644 dss.css create mode 100644 index.html.in diff --git a/Makefile b/Makefile index ca5a1a2..ae4eda8 100644 --- 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 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 index 0000000..fe06576 --- /dev/null +++ b/index.html.in @@ -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é 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> + -- 2.39.5