cl-lml (1.0.9-1) unstable; urgency=low
* Change default lml-quite exit status to 0
-
+ * stdsite.cl: check better if source-file exists
+
-- Kevin M. Rosenberg <kmr@debian.org> Fri, 20 Sep 2002 12:46:00 -0600
cl-lml (1.0.8-1) unstable; urgency=low
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Aug 2002
;;;;
-;;;; $Id: stdsite.cl,v 1.1 2002/09/16 01:13:49 kevin Exp $
+;;;; $Id: stdsite.cl,v 1.2 2002/09/20 19:13:51 kevin Exp $
;;;;
;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(defun std-footer (file)
(div-c "disclaimsec"
- (let ((ds (date-string
- (file-write-date (make-pathname
- :defaults *sources-dir*
- :type "lml"
- :name (pathname-name file))))))
- (when ds
+ (let ((src-file (make-pathname
+ :defaults *sources-dir*
+ :type "lml"
+ :name (pathname-name file))))
+ (when (probe-file src-file)
(div-c "lastmod"
- (lml-print "Last modified: ~A" ds)))))
- (lml-load #p"footer.lml_")
+ (lml-print "Last modified: ~A" (date-string (file-write-date src-file))))))
+ (lml-load #p"footer.lml_"))
(values))