* riece-package-info.el.in: New file.
* Makefile.am (DISTCLEANFILES): Added riece-package-info.el.
+2006-12-18 Daiki Ueno <ueno@unixuser.org>
+
+ * configure.ac: Generate lisp/riece-package-info.el.
+
2006-09-29 Daiki Ueno <ueno@unixuser.org>
* Riece: Version 3.1.1 released.
AC_CONFIG_FILES([Makefile
lisp/Makefile
+lisp/riece-package-info.el
lisp/test/Makefile
doc/Makefile])
AC_OUTPUT
+2006-12-18 Daiki Ueno <ueno@unixuser.org>
+
+ * riece-package-info.el.in: New file.
+ * Makefile.am (DISTCLEANFILES): Added riece-package-info.el.
+
2006-09-29 Daiki Ueno <ueno@unixuser.org>
* Riece: Version 3.1.1 released.
server.rb aproxy.rb
CLEANFILES = auto-autoloads.el custom-load.el *.elc
+DISTCLEANFILES = riece-package-info.el
FLAGS ?= -batch -q -no-site-file
all: elc
--- /dev/null
+;;; riece-package-info.el --- package information about Riece
+;; Copyright (C) 2006 Daiki Ueno
+
+;; Author: Daiki Ueno <ueno@unixuser.org>
+
+;; This file is part of Riece.
+
+;; This program 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, or (at your option)
+;; any later version.
+
+;; This program 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 GNU Emacs; see the file COPYING. If not, write to the
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
+
+;;; Code:
+
+(defconst riece-package-name "@PACKAGE@")
+
+(defconst riece-version-number "@VERSION@"
+ "Version number for this version of Riece.")
+
+(provide 'riece-package-info)
+
+;;; riece-package-info.el ends here
-;;; riece-version.el --- version information about Riece
+;;; riece-version.el --- version information handling
;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
;; Free Software Foundation, Inc.
;; Copyright (C) 1998-2003 Daiki Ueno
;;; Code:
+(require 'riece-package-info)
+
;; NOTE: Most part of this file is copied from Gnus.
(defcustom riece-user-agent 'emacs-riece-type
(item :tag "Show only Riece version" riece)
(string :tag "Other")))
-(defconst riece-product-name "Riece")
-
-(defconst riece-version-number "3.1.1"
- "Version number for this version of Riece.")
-
-(defconst riece-version (format "Riece v%s" riece-version-number)
+(defconst riece-version (format "%s v%s" riece-package-name
+ riece-version-number)
"Version string for this version of Riece.")
(eval-when-compile
"Stringified Riece version and Emacs version.
See the variable `riece-user-agent'."
(let* ((riece-v
- (concat riece-product-name "/"
+ (concat riece-package-name "/"
(prin1-to-string riece-version-number t)))
(system-v
(cond