Update of /project/clhp/cvsroot/clhp In directory common-lisp.net:/tmp/cvs-serv19798
Modified Files: clhp.lisp Makefile Log Message: Trying to get a nice little feature where the makefile creates a CVS version ID similar to how it's done in clhp.lisp
Date: Thu Oct 16 15:31:59 2003 Author: aventimiglia
Index: clhp/clhp.lisp diff -u clhp/clhp.lisp:1.14 clhp/clhp.lisp:1.15 --- clhp/clhp.lisp:1.14 Thu Oct 16 12:57:25 2003 +++ clhp/clhp.lisp Thu Oct 16 15:31:59 2003 @@ -1,5 +1,5 @@ (ext:file-comment - "$Id: clhp.lisp,v 1.14 2003/10/16 16:57:25 aventimiglia Exp $") + "$Id: clhp.lisp,v 1.15 2003/10/16 19:31:59 aventimiglia Exp $") ;; ;; CLHP the Common Lisp Hypertext Preprocessor ;; (C) 2003 Anthony J Ventimiglia @@ -39,8 +39,8 @@ ;; by changing the NIL in the first part of the OR, a release number ;; will override the CVS keyword (defconstant *CLHP-VERSION* - #.(or "0.1.1alpha" ; Set this for releases - (let* ((trimmed (string-trim "$ Date:" "$Date: 2003/10/16 16:57:25 $")) + #.(or nil ; Set this for releases + (let* ((trimmed (string-trim "$ Date:" "$Date: 2003/10/16 19:31:59 $")) (date (subseq trimmed 0 (search " " trimmed)))) (concatenate 'string (subseq date 0 4)
Index: clhp/Makefile diff -u clhp/Makefile:1.12 clhp/Makefile:1.13 --- clhp/Makefile:1.12 Wed Oct 15 10:44:04 2003 +++ clhp/Makefile Thu Oct 16 15:31:59 2003 @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.12 2003/10/15 14:44:04 aventimiglia Exp $ +# $Id: Makefile,v 1.13 2003/10/16 19:31:59 aventimiglia Exp $ # # CLHP the Common Lisp Hypertext Preprocessor # (C) 2003 Anthony J Ventimiglia @@ -78,13 +78,18 @@ # real version number is based on the date of the last change to # clhp.lisp, the only place this version carries in is during # make-dist. -VERSION=0.1.1alpha +CVSID=$(shell echo \ + $$Date: 2003/10/16 19:31:59 $$ ) +#VERSION=0.1.2alpha TARROOT=clhp-$(VERSION) TARBALL=$(TARROOT).tar.gz
RECURSIVE_TARGETS=clean-recursive clean-all-recursive check-recursive
all: $(LISPCBIN) $(LIBS) $(CORE) $(RUNCGI) + +version: + echo $(CVSID)
.PHONY: all install uninstall clean clean-all clean-backups install-dirs \ install-source install-source-dirs uninstall-files uninstall-dirs \