release
authorDavid Lichteblau <david@lichteblau.com>
Sun, 30 Nov 2008 13:49:52 +0000 (30 14:49 +0100)
committerDavid Lichteblau <david@radon.(none)>
Sun, 30 Nov 2008 13:49:52 +0000 (30 14:49 +0100)
build/dist.sh [deleted file]
dist.sh [new file with mode: 0755]
doc/GNUmakefile
doc/atdoc.lisp
doc/index.xml

diff --git a/build/dist.sh b/build/dist.sh
deleted file mode 100755 (executable)
index 8eb5270..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-set -e
-
-cd $(dirname $0)/..
-home=$(pwd)
-name=$(basename $home)
-dir=${name}-$(date --iso)
-
-TMPDIR=`mktemp -d /tmp/dist.XXXXXXXXXX`
-cleanup() {
-    cd
-    rm -rf $TMPDIR
-}
-trap cleanup exit
-
-sbcl --load doc/atdoc.lisp --eval '(quit)'
-
-cd $TMPDIR
-git clone $home $dir
-rm -rf $dir/.git
-rsync -a $home/doc $dir/
-
-make -C $dir/doc
-
-tgz=$TMPDIR/${dir}.tgz
-tar czf $tgz $dir
-gpg -b -a $tgz
-
-mv $tgz $tgz.asc $home/build/
diff --git a/dist.sh b/dist.sh
new file mode 100755 (executable)
index 0000000..09a3d95
--- /dev/null
+++ b/dist.sh
@@ -0,0 +1,48 @@
+#!/bin/sh -e
+set -x
+
+cd $(dirname $0)
+home=$(pwd)
+name=$(basename $home)
+name_and_date=${name}-$(date --iso)
+
+TMPDIR=`mktemp -d /tmp/dist.XXXXXXXXXX`
+cleanup() {
+    cd
+    rm -rf $TMPDIR
+}
+trap cleanup exit
+
+make -C doc
+
+git tag -f $name_and_date
+git archive --prefix=$name_and_date/ $name_and_date | \
+    ( cd $TMPDIR && tar xvf - )
+
+echo '(progn (load "doc/atdoc.lisp") (quit))' | clbuild lisp 
+
+rsync -a doc $TMPDIR/$name_and_date
+
+cd $TMPDIR
+
+tgz=$TMPDIR/${name_and_date}.tgz
+tar czf $tgz $name_and_date
+gpg -b -a $tgz
+
+mkdir -p ~/clnet/project/closure/public_html/closure-html/
+
+rsync -av \
+    $name_and_date/doc/ \
+    ~/clnet/project/closure/public_html/closure-html/
+
+rsync $tgz $tgz.asc ~/clnet/project/closure/public_html/closure-html/download/
+
+rm -f ~/clnet/project/closure/public_html/closure-html/download/closure-html.tar.gz 
+rm -f ~/clnet/project/closure/public_html/closure-html/download/closure-html.tar.gz.asc
+
+ln -sf ${name_and_date}.tgz ~/clnet/project/closure/public_html/closure-html/download/closure-html.tar.gz
+ln -sf ${name_and_date}.tgz.asc ~/clnet/project/closure/public_html/closure-html/download/closure-html.tar.gz.asc
+
+echo done
+exit 0
+rsync -av ~/clnet/project dlichteblau@common-lisp.net:/
index bd37010..27d0add 100644 (file)
@@ -4,7 +4,7 @@ all: index.html installation.html hax.html examples.html
 
 %.html: %.xml index.xsl
        xsltproc index.xsl $< >$@.tmp
-       mv $@.tmp $@
+       mv -f $@.tmp $@
        chmod -w $@
 
 .PHONY: push
index 717da27..9f575ec 100644 (file)
@@ -1,8 +1,9 @@
-(asdf:operate 'asdf:load-op :closure-html)
 (asdf:operate 'asdf:load-op :atdoc)
-(atdoc:generate-documentation
+(asdf:operate 'asdf:load-op :closure-html)
+
+(atdoc:generate-html-documentation
  '(:chtml :hax)
- "/home/david/src/lisp/closure-html/doc/atdoc/"
:index-title "Closure HTML API reference"
- :heading "Closure HTML"
- :css "cxml.css")
+ (merge-pathnames
 "doc/atdoc/"
+  (asdf:component-relative-pathname (asdf:find-system :closure-html)))
+ :heading "Closure HTML")
index 96f13dc..26233b7 100644 (file)
@@ -42,7 +42,7 @@
   </ul>
 
   <h3>History</h3>
-  <p><b>2008-03-dd</b></p>
+  <p><b>2008-11-30</b></p>
   <ul>
     <li>
       Changes in closure-common: