From: ueno Date: Mon, 29 Jan 2007 04:02:32 +0000 (+0000) Subject: * configure.ac: Generate epg-package-info.el. X-Git-Tag: epg-0_0_10~2 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f846b3d15bf0c6b50685e0e4b41cc0bfaeb54731;p=elisp%2Fepg.git * configure.ac: Generate epg-package-info.el. * Makefile.am (DISTCLEANFILES): Added epg-package-info.el. * COMPILE (epg-modules): Added epg-package-info. * epg-package-info.el.in: New file. --- diff --git a/COMPILE b/COMPILE index 208165e..de9fa05 100644 --- a/COMPILE +++ b/COMPILE @@ -1,7 +1,7 @@ ;;; -*- Emacs-Lisp -*- (defvar epg-modules - '(epg-config epg epa epa-dired epa-file epa-mail epa-setup)) + '(epg-package-info epg-config epg epa epa-dired epa-file epa-mail epa-setup)) (defun epg-compile-modules (modules) (let ((load-path (cons nil load-path)) diff --git a/ChangeLog b/ChangeLog index 6d8a81d..b4c2e60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2007-01-29 Daiki Ueno + * configure.ac: Generate epg-package-info.el. + * Makefile.am (DISTCLEANFILES): Added epg-package-info.el. + * COMPILE (epg-modules): Added epg-package-info. + * epg-package-info.el.in: New file. + +2007-01-29 Daiki Ueno + * epa-setup.el (epa-mail-mode): Autoload; setup mail-mode-hook. * epa.el: Removed epa-*-mail stuff. * Makefile.am (EXTRA_DIST): Added epa-mail.el. diff --git a/Makefile.am b/Makefile.am index 278eb8c..a5cb7bc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,6 +4,7 @@ EXTRA_DIST = COMPILE epg-config.el epg.el epa.el epa-dired.el \ epa-file.el epa-mail.el epa-setup.el CLEANFILES = auto-autoloads.el* custom-load.el *.elc +DISTCLEANFILES = epg-package-info.el FLAGS ?= -batch -q -no-site-file all: elc diff --git a/configure.ac b/configure.ac index d416b2a..4cb3331 100644 --- a/configure.ac +++ b/configure.ac @@ -11,5 +11,6 @@ AM_CONDITIONAL(XEMACS, test ${EMACS_FLAVOR} = xemacs) AC_CHECK_GPG(1.4.3) -AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([Makefile +epg-package-info.el]) AC_OUTPUT diff --git a/epg-config.el b/epg-config.el index a7c9e5b..c5c5a7f 100644 --- a/epg-config.el +++ b/epg-config.el @@ -23,6 +23,8 @@ ;;; Code: +(require 'epg-package-info) + (defgroup epg () "The EasyPG Library" :group 'emacs) @@ -53,8 +55,6 @@ Note that the buffer name starts with a space." :group 'epg :type 'boolean) -(defconst epg-version-number "0.0.9") - (defconst epg-gpg-minimum-version "1.4.3") ;;;###autoload diff --git a/epg-package-info.el.in b/epg-package-info.el.in new file mode 100644 index 0000000..f36432d --- /dev/null +++ b/epg-package-info.el.in @@ -0,0 +1,34 @@ +;;; epg-package-info.el --- package information about EasyPG +;; Copyright (C) 2007 Daiki Ueno + +;; Author: Daiki Ueno +;; Keywords: PGP, GnuPG + +;; This file is part of EasyPG. + +;; 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 epg-package-name "@PACKAGE@" + "Name of this package.") + +(defconst epg-version-number "@VERSION@" + "Version number of this package.") + +(provide 'epg-package-info) + +;;; epg-package-info.el ends here