summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2006-06-23 15:19:43 +0000
committerRoger Leigh <rleigh@debian.org>2006-06-23 15:19:43 +0000
commit9c2042fc4e906e2b578171ead4225fdf51c2afa0 (patch)
tree1126206876dd97cea40045a9a5d93c2c60d8f935 /scripts
parent8057c099d470499bf1a6ce7c96d4c6feb8725de9 (diff)
downloadschroot-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.in28
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])])