From 71dd3369e36e1e39bf578e37a6c3297d42156c7a Mon Sep 17 00:00:00 2001
From: "Eric S. Raymond"
Date: Tue, 4 Oct 2011 12:53:41 -0400
Subject: Partial website cleanup.
---
SConstruct | 12 +++++++++--
www/history.html | 2 +-
www/index.html.in | 62 ++++++++++++++++++++++++++++---------------------------
3 files changed, 43 insertions(+), 33 deletions(-)
diff --git a/SConstruct b/SConstruct
index 153d9ea2..a584a768 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1374,7 +1374,7 @@ env.Alias('testregress', check)
# None of these productions are fired by default.
# The content they handle is the GPSD website, not included in release tarballs.
-www = env.Alias('www', Split('''www/installation.html
+webpages = Split('''www/installation.html
www/gpscat.html www/gpsctl.html www/gpsdecode.html
www/gpsd.html www/gpsfake.html www/gpsmon.html
www/gpspipe.html www/gpsprof.html www/gps.html
@@ -1386,7 +1386,15 @@ www = env.Alias('www', Split('''www/installation.html
www/index.html www/hardware.html
www/performance/performance.html
www/internals.html
- ''') + map(lambda f: f[:-3], glob.glob("www/*.in")))
+ ''') + map(lambda f: f[:-3], glob.glob("www/*.in"))
+
+www = env.Alias('www', webpages)
+
+# Paste this list to a validator, e.g.
+def validation_list(target, source, env):
+ for page in webpages:
+ print os.path.join(website, os.path.basename(page))
+Utility("validation-list", [www], validation_list)
# How to update the website
Utility("webupload", [www], ['rsync --exclude="*.in" -avz www/ ' + webupload])
diff --git a/www/history.html b/www/history.html
index 9f4912f4..453a4c0d 100644
--- a/www/history.html
+++ b/www/history.html
@@ -172,7 +172,7 @@ the first Good Code Grant from the Alliance for Code Excellence.
In March 2010 the project changed version-control systems, moving
from Subversion to git. In April 2011, it changed build systems,
-dumped autotools for scons.
+dumping autotools for scons.
In late September 2011, the announcement that the Berlios forge site
would be shutting down at the end of 2011 forced the project to move.
diff --git a/www/index.html.in b/www/index.html.in
index 98ff8614..4e78cd89 100644
--- a/www/index.html.in
+++ b/www/index.html.in
@@ -1,14 +1,15 @@
-
-
+
+
-
-
-
-
+
+
+
+
GPSd — Put your GPS on the net!
-
+
@@ -106,7 +107,7 @@ the NMEA 0183 emitted by most GPSes. The gpsd
distribution includes a linkable C service library, a C++ wrapper
class, and a Python module that developers of gpsd-aware
applications can use to encapsulate all communication with
-gpsd.
+gpsd.
Besides gpsd itself, the project provides auxiliary
tools for diagnostic monitoring and profiling of receivers and feeding
@@ -188,8 +189,6 @@ report bugs.
If you are using a Debian-based distribution (including Ubuntu) you
can probably install gpsd through your regular package
@@ -387,7 +387,7 @@ of the problem.