From 3aada6fb894b77e8dce75b7aa7facfcdfd1f412f Mon Sep 17 00:00:00 2001 From: David Lichteblau Date: Sun, 30 Nov 2008 14:10:56 +0100 Subject: [PATCH] various docstrings; release --- cxml.asd | 3 +- dist.sh | 41 +++++-- doc/GNUmakefile | 2 +- doc/html.xsl | 220 +++++++++++++++++----------------- doc/index.xml | 2 +- xml/atdoc-configuration.lisp | 7 ++ xml/sax-proxy.lisp | 47 +++++++- xml/unparse.lisp | 275 ++++++++++++++++++++++++++++++++++++++++++- xml/xml-parse.lisp | 225 ++++++++++++++++++++++++++++++++++- xml/xmlns-normalizer.lisp | 6 + 10 files changed, 701 insertions(+), 127 deletions(-) rewrite doc/html.xsl (65%) create mode 100644 xml/atdoc-configuration.lisp diff --git a/cxml.asd b/cxml.asd index 41942f9..95921fc 100644 --- a/cxml.asd +++ b/cxml.asd @@ -45,7 +45,8 @@ (:file "xmlns-normalizer" :depends-on ("xml-parse")) (:file "space-normalizer" :depends-on ("xml-parse")) (:file "catalog" :depends-on ("xml-parse")) - (:file "sax-proxy" :depends-on ("xml-parse"))) + (:file "sax-proxy" :depends-on ("xml-parse")) + (:file "atdoc-configuration" :depends-on ("package"))) :depends-on (:closure-common :puri #-scl :trivial-gray-streams)) (defclass utf8dom-file (closure-source-file) ((of))) diff --git a/dist.sh b/dist.sh index 46746ea..eed185b 100755 --- a/dist.sh +++ b/dist.sh @@ -1,8 +1,10 @@ -#!/bin/sh +#!/bin/sh -e +set -x + cd $(dirname $0) home=$(pwd) name=$(basename $home) -dir=${name}-$(date --iso) +name_and_date=${name}-$(date --iso) TMPDIR=`mktemp -d /tmp/dist.XXXXXXXXXX` cleanup() { @@ -11,13 +13,36 @@ cleanup() { } trap cleanup exit -cd $TMPDIR -cvs -d "`cat $home/CVS/Root`" export -r HEAD -d "$dir" "$name" +make -C doc + +git tag -f $name_and_date +git archive --prefix=$name_and_date/ $name_and_date | \ + ( cd $TMPDIR && tar xvf - ) -make -C $dir/doc +# echo '(progn (load "dist.lisp") (quit))' | clbuild lisp + +rsync -a doc $TMPDIR/$name_and_date + +cd $TMPDIR -tgz=$TMPDIR/${dir}.tgz -tar czf $tgz $dir +tgz=$TMPDIR/${name_and_date}.tgz +tar czf $tgz $name_and_date gpg -b -a $tgz -mv $tgz $tgz.asc $home/ +mkdir -p ~/clnet/project/cxml/public_html/ + +rsync -av \ + $name_and_date/doc/ \ + ~/clnet/project/cxml/public_html/ + +rsync $tgz $tgz.asc ~/clnet/project/cxml/public_html/download/ + +rm -f ~/clnet/project/cxml/public_html/download/cxml.tar.gz +rm -f ~/clnet/project/cxml/public_html/download/cxml.tar.gz.asc + +ln -sf ${name_and_date}.tgz ~/clnet/project/cxml/public_html/download/cxml.tar.gz +ln -sf ${name_and_date}.tgz.asc ~/clnet/project/cxml/public_html/download/cxml.tar.gz.asc + +echo done +exit 0 +rsync -av ~/bob/public_html bob.askja.de diff --git a/doc/GNUmakefile b/doc/GNUmakefile index bf14b11..229a2be 100644 --- a/doc/GNUmakefile +++ b/doc/GNUmakefile @@ -2,5 +2,5 @@ all: dom.html index.html installation.html klacks.html quickstart.html sax.html %.html: %.xml html.xsl xsltproc html.xsl $< >$@.tmp - mv $@.tmp $@ + mv -f $@.tmp $@ chmod -w $@ diff --git a/doc/html.xsl b/doc/html.xsl dissimilarity index 65% index 82b68e1..90563f7 100644 --- a/doc/html.xsl +++ b/doc/html.xsl @@ -1,110 +1,110 @@ - - - - - - - - - - - - - - <xsl:value-of select="@title"/> - - - - - - - - - - - - - - - - - -

- - - -

-
-
+ + + + + + + + + + + + + + <xsl:value-of select="@title"/> + + + + + + + + + + + + + + + + + +

+ + + +

+
+ diff --git a/doc/index.xml b/doc/index.xml index 433f822..8c04aad 100644 --- a/doc/index.xml +++ b/doc/index.xml @@ -70,7 +70,7 @@ Please refer to the installation instructions for details. -

rel-2008-xx-yy

+

rel-2008-11-30