Skip to content

Commit

Permalink
automate making stumpwm releases
Browse files Browse the repository at this point in the history
version.lisp is now generated. the makefile has 2 new rules for making a release. bump version in configure.ac.
  • Loading branch information
Shawn committed Feb 5, 2008
1 parent e2bdbb7 commit aefb351
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .cvsignore

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ stumpwm
stumpwm.info
TAGS
make-image.lisp
version.lisp
stumpwm-*.tgz
stumpwm-*.tgz.sig
12 changes: 12 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,17 @@ stumpwm.info: stumpwm.texi
stumpwm: $(FILES)
$(LISP) $(LISP_OPTS)

release:
git-archive --format=tar --prefix=stumpwm-@PACKAGE_VERSION@/ HEAD > stumpwm-@PACKAGE_VERSION@.tar
tar xf stumpwm-@PACKAGE_VERSION@.tar
cd stumpwm-@PACKAGE_VERSION@ && tar zxf @PPCRE_PATH@/../cl-ppcre.tar.gz
git log > stumpwm-@PACKAGE_VERSION@/ChangeLog
tar zcf stumpwm-@PACKAGE_VERSION@.tgz stumpwm-@PACKAGE_VERSION@
rm -fr stumpwm-@PACKAGE_VERSION@/ stumpwm-@PACKAGE_VERSION@.tar

upload-release:
gpg -b stumpwm-@PACKAGE_VERSION@.tgz
scp stumpwm-@PACKAGE_VERSION@.tgz stumpwm-@PACKAGE_VERSION@.tgz.sig sabetts@dl.sv.nongnu.org:/releases/stumpwm/

clean:
rm -f *.fasl *.fas *.lib stumpwm
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)
AC_INIT(Stump Window Manager, 0.0.6, sabetts@vcn.bc.ca)
AC_INIT(Stump Window Manager, 0.9.2-GIT, sabetts@vcn.bc.ca)

AC_SUBST(LISP_PROGRAM)
AC_SUBST(LISP)
Expand Down Expand Up @@ -78,3 +78,4 @@ fi
# Checks for library functions.
AC_OUTPUT(Makefile)
AC_OUTPUT(make-image.lisp)
AC_OUTPUT(version.lisp)
2 changes: 1 addition & 1 deletion version.lisp → version.lisp.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

(export '(*version*))

(defparameter *version* #.(concatenate 'string "0.0.6-CVS Compiled On " (format-time-string)))
(defparameter *version* #.(concatenate 'string "@PACKAGE_VERSION@ Compiled On " (format-time-string)))

(defun echo-version (screen)
(echo-string screen *version*))
Expand Down

0 comments on commit aefb351

Please sign in to comment.