diff options
author | Roger Leigh <rleigh@debian.org> | 2006-06-23 15:19:43 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2006-06-23 15:19:43 +0000 |
commit | 9c2042fc4e906e2b578171ead4225fdf51c2afa0 (patch) | |
tree | 1126206876dd97cea40045a9a5d93c2c60d8f935 /scripts | |
parent | 8057c099d470499bf1a6ce7c96d4c6feb8725de9 (diff) | |
download | schroot-9c2042fc4e906e2b578171ead4225fdf51c2afa0.tar.gz |
* API documentation additions.
* Add @RELEASE_DATE@ in place of hard-coded date in all manual
pages.
* configure.ac: Use SCHROOT_RELEASE_DATE.
* bootstrap: Generate autoconf macro with embedded release date.
* scripts/schroot_release.m4.in: New file. Autoconf macro
template to define release date.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/schroot_release.m4.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/schroot_release.m4.in b/scripts/schroot_release.m4.in new file mode 100644 index 00000000..49b71205 --- /dev/null +++ b/scripts/schroot_release.m4.in @@ -0,0 +1,28 @@ +# -*- Autoconf -*- +# Copyright © 2001-2002,2006 Roger Leigh <rleigh@debian.org> +# +# schroot is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# schroot is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# Copyright 2001-2002,2006 Roger Leigh <rleigh@debian.org> + +# SCHROOT_RELEASE_DATE +# -------------------- +# Hard-code the release date into the generated configure script and +# Makefiles. +AC_DEFUN([SCHROOT_RELEASE_DATE], +[dnl Set package release date +RELEASE_DATE="@RELEASE_DATE@" +AC_DEFINE_UNQUOTED([RELEASE_DATE], "${RELEASE_DATE}", [Package release date.]) +AC_SUBST([RELEASE_DATE])]) |