1.0.0.4: tweak windows installer builder and html-distribution.sh
authorNikodemus Siivola <nikodemus@random-state.net>
Thu, 30 Nov 2006 17:20:54 +0000 (17:20 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Thu, 30 Nov 2006 17:20:54 +0000 (17:20 +0000)
 * Use an appropriate base to ENOUGH-NAMESTRING in the wxs.lisp.
 * Name the html tarball with -documentation-html.tar suffix.
 * Add SUPPORT file to HTML tarball.

html-distribution.sh
tools-for-build/wxs.lisp
version.lisp-expr

index b52ae9a..6a2bb58 100644 (file)
@@ -2,11 +2,11 @@
 set -e
 
 # Create a distribution containing the HTML versions of system
-# documentation. (make-doc.sh needs to be run first, in order to
+# documentation. (cd doc/manual && make needs to be run first, in order to
 # compile the doc sources into HTML.)
 
 b=${1:?missing base directory name argument}
-tar cf $b-html.tar \
+tar cf $b-documentation-html.tar \
     `find $b -name '*.htm*'` \
-    $b/COPYING $b/CREDITS $b/README \
+    $b/COPYING $b/CREDITS $b/README $b/SUPPORT \
     $b/pubring.pgp
index 10fbd8e..705e12e 100644 (file)
 
 (defvar *indent-level* 0)
 
+(defvar *sbcl-source-root*
+  (truename 
+   (merge-pathnames (make-pathname :directory (list :relative :up))
+                    (make-pathname :name nil :type nil :defaults *load-truename*))))
+
 (defun print-xml (sexp &optional (stream *standard-output*))
   (destructuring-bind (tag &optional attributes &body children) sexp
     (when attributes (assert (evenp (length attributes))))
@@ -92,7 +97,7 @@
        string))
 
 (defun directory-id (name)
-  (id (format nil "Directory_~A" (enough-namestring name))))
+  (id (format nil "Directory_~A" (enough-namestring name *sbcl-source-root*))))
 
 (defun directory-names (pathname)
   (let ((name (car (last (pathname-directory pathname)))))
         (list "Name" name))))
 
 (defun file-id (pathname)
-  (id (format nil "File_~A" (enough-namestring pathname))))
+  (id (format nil "File_~A" (enough-namestring pathname *sbcl-source-root*))))
 
 (defparameter *ignored-directories* '("CVS" ".svn"))
 
 (defparameter *components* nil)
 
 (defun component-id (pathname)
-  (let ((id (id (format nil "Contrib_~A" (enough-namestring pathname)))))
+  (let ((id (id (format nil "Contrib_~A" (enough-namestring pathname *sbcl-source-root*)))))
     (push id *components*)
     id))
 
index 40e453c..8a78bdb 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.0.3"
+"1.0.0.4"