From 1329df206e5de11e78b5064050b5dc6c5b775d9d Mon Sep 17 00:00:00 2001 From: HIRAOKA Kazuyuki Date: Mon, 25 Dec 2017 23:52:10 +0900 Subject: [PATCH] update version string in header comments for MELPA --- Makefile.am | 4 +-- Makefile.in | 4 +-- howm.el | 4 ++- howm.el.in | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 97 insertions(+), 5 deletions(-) create mode 100644 howm.el.in diff --git a/Makefile.am b/Makefile.am index 4a80863..7deb63c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,10 +35,10 @@ TEST_INIT = sample/dot.emacs AM_MAKEFLAGS = HOWM_MAKE=t -$(srcdir)/howm-version.el: $(srcdir)/howm-version.el.in $(srcdir)/configure.ac Makefile +$(srcdir)/%.el: $(srcdir)/%.el.in $(srcdir)/configure.ac Makefile rm -f $@.tmp && \ sed -e 's/~\(VERSION\)~/$(VERSION)/' \ - $(srcdir)/howm-version.el.in > $@.tmp && \ + $< > $@.tmp && \ mv $@.tmp $@ $(MENU_EL): $(srcdir)/howm-mkmenu.el $(MENU_SRC) diff --git a/Makefile.in b/Makefile.in index 6db111a..1257a03 100644 --- a/Makefile.in +++ b/Makefile.in @@ -854,10 +854,10 @@ uninstall-am: uninstall-howmLISP uninstall-am uninstall-howmLISP -$(srcdir)/howm-version.el: $(srcdir)/howm-version.el.in $(srcdir)/configure.ac Makefile +$(srcdir)/%.el: $(srcdir)/%.el.in $(srcdir)/configure.ac Makefile rm -f $@.tmp && \ sed -e 's/~\(VERSION\)~/$(VERSION)/' \ - $(srcdir)/howm-version.el.in > $@.tmp && \ + $< > $@.tmp && \ mv $@.tmp $@ $(MENU_EL): $(srcdir)/howm-mkmenu.el $(MENU_SRC) diff --git a/howm.el b/howm.el index 06a52d8..06036a5 100644 --- a/howm.el +++ b/howm.el @@ -1,10 +1,12 @@ ;;; howm.el --- Wiki-like note-taking tool +;;; -*- Emacs-Lisp -*- +;;; @configure_input@ ;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2016, 2017 HIRAOKA Kazuyuki ;; Author: HIRAOKA Kazuyuki ;; URL: http://howm.osdn.jp -;; Version: 1.4.3 +;; Version: 1.4.5-snapshot ;; Package-Requires: ((cl-lib "0.5")) ;; This program is free software; you can redistribute it and/or modify diff --git a/howm.el.in b/howm.el.in new file mode 100644 index 0000000..20fafbf --- /dev/null +++ b/howm.el.in @@ -0,0 +1,90 @@ +;;; howm.el --- Wiki-like note-taking tool +;;; -*- Emacs-Lisp -*- +;;; @configure_input@ + +;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2016, 2017 HIRAOKA Kazuyuki + +;; Author: HIRAOKA Kazuyuki +;; URL: http://howm.osdn.jp +;; Version: ~VERSION~ +;; Package-Requires: ((cl-lib "0.5")) + +;; 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 1, 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. + +;; The GNU General Public License is available by anonymouse ftp from +;; prep.ai.mit.edu in pub/gnu/COPYING. Alternately, you can write to +;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, +;; USA. +;;-------------------------------------------------------------------- + +;;; DESCRIPTION: +;;; +;;; See README. +;;; HOWM is acronym of "Hitori Otegaru Wiki Modoki". + +;; Files [0]-[3] have only hierarchical dependencies, +;; whereas files in [5] have circular dependencies. +;; Each file in [5] provides itself first, +;; and then requires [4] (this file). + +;;; [0] official + +(require 'easy-mmode) +(require 'font-lock) + +;;; [1] cl + +(require 'cl-lib) + +;;; [2] howm basic libraries + +(require 'howm-version) +(require 'howm-vars) +(require 'howm-common) + +;;; [3] my tools + +;; This doesn't work in byte-compilation. I don't understand it. Sigh... +;; (mapcar #'require howm-required-features) + +(require 'cheat-font-lock) +(require 'illusion) +(require 'gfunc) +(require 'riffle) +(require 'action-lock) +(require 'honest-report) + +;;; [4] howm main (this file) + +(provide 'howm) + +;;; [5] howm modules + +(require 'howm-backend) +(require 'howm-view) +(require 'howm-mode) +(require 'howm-misc) +(require 'howm-date) +(require 'howm-reminder) +(require 'howm-menu) + +;;; for howmz.el [2006-02-02] +;;; http://noir.s7.xrea.com/archives/000136.html +;;; http://noir.s7.xrea.com/pub/zaurus/howmz.el + +(howm-require-lang 'en) +(howm-require-lang 'ja) + +;;; security fix [2006-12-16] +(mapc (lambda (symbol) (put symbol 'risky-local-variable t)) + (howm-symbols)) + +;;; howm.el ends here -- 2.11.0