[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole 0ed7d26 10/21: Merge pull request #16 from ma
From: |
Stefan Monnier |
Subject: |
[elpa] externals/hyperbole 0ed7d26 10/21: Merge pull request #16 from matsl/set-up-hyperbole-for-use-from-src-folder |
Date: |
Fri, 4 Oct 2019 14:58:25 -0400 (EDT) |
branch: externals/hyperbole
commit 0ed7d26e95c12be000adf8878ca9225f3ea1506e
Merge: 5cb81a3 f5a4e99
Author: Robert Weiner <address@hidden>
Commit: GitHub <address@hidden>
Merge pull request #16 from matsl/set-up-hyperbole-for-use-from-src-folder
Set up Hyperbole for use from source folder; add make dev-install target
---
Makefile | 29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index b5e7e2f..7f3a276 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
#
# Orig-Date: 15-Jun-94 at 03:42:38
#
-# Copyright (C) 1994-2017 Free Software Foundation, Inc.
+# Copyright (C) 1994-2019 Free Software Foundation, Inc.
# See the file HY-COPY for license information.
#
# This file is part of GNU Hyperbole.
@@ -41,6 +41,9 @@
# To release a Hyperbole Emacs package to ELPA and ftp.gnu.org:
# make release
#
+# To set up Hyperbole for use from the source folder:
+# make dev-install
+#
# The Hyperbole Manual is included in the package in four forms:
# "man/hyperbole.info" - GNU browsable version
# "man/hyperbole.html" - Web browsable version
@@ -170,7 +173,7 @@ ELC_COMPILE = hactypes.elc hibtypes.elc hib-debbugs.elc
hib-doc-id.elc hib-kbd.
ELC_KOTL = kotl/kexport.elc kotl/kfile.elc kotl/kfill.elc kotl/kimport.elc
kotl/klabel.elc \
kotl/klink.elc kotl/kmenu.elc kotl/knode.elc kotl/kotl-mode.elc \
kotl/kcell.elc kotl/kproperty.elc \
- kotl/kview.el kotl/kvspec.elc
+ kotl/kview.elc kotl/kvspec.elc
HYPERBOLE_FILES = dir hyperbole-pkg.el info html $(EL_SRC) $(EL_COMPILE)
$(EL_KOTL) \
$(ELC_COMPILE) Changes COPYING Makefile HY-ABOUT HY-ANNOUNCE HY-NEWS \
@@ -194,6 +197,8 @@ help:
@ echo " make doc"
@ echo " To release a Hyperbole Emacs package to ELPA and ftp.gnu.org:"
@ echo " make release"
+ @ echo " To set up Hyperbole for use from the source folder:"
+ @ echo " make dev-install"
@ echo ""
@ echo "The Hyperbole Manual is included in the package in four forms:"
@ echo " man/hyperbole.info - GNU browsable version"
@@ -238,7 +243,7 @@ elc-init:
# Remove and then rebuild all byte-compiled .elc files, even those .elc files
# which do not yet exist.
-all-elc:
+all-elc: autoloads
$(RM) *.elc kotl/*.elc
$(EMACS) $(BATCHFLAGS) $(PRELOADS) -f batch-byte-compile $(EL_KOTL)
$(EL_COMPILE)
@@ -246,6 +251,11 @@ tags: TAGS
TAGS: $(EL_TAGS)
$(ETAGS) $(EL_TAGS)
+dev-install: all-elc tags
+
+clean:
+ $(RM) hyperbole-autoloads.el $(ELC_COMPILE) $(ELC_KOTL) TAGS
+
version: doc
@ echo ""
@ echo "Any fgrep output means the version number has not been updated
in that file."
@@ -276,7 +286,7 @@ README.md.html: README.md
# Generate a Hyperbole package suitable for distribution via the Emacs package
manager.
pkg: package
-package: git-pull doc kotl/kotl-autoloads.el
$(pkg_dir)/hyperbole-$(HYPB_VERSION).tar.sig
+package: git-pull doc autoloads $(pkg_dir)/hyperbole-$(HYPB_VERSION).tar.sig
# Generate and distribute a Hyperbole release to GNU ELPA and ftp.gnu.org.
# One step in this is to generate an autoloads file for the Koutliner,
kotl/kotl-autoloads.el.
@@ -304,9 +314,14 @@ elpa-test: package
ftp: package
cd $(pkg_dir) && $(GNUFTP) hyperbole-$(HYPB_VERSION).tar.gz
+# Autoloads
+autoloads: hyperbole-autoloads.el kotl/kotl-autoloads.el
+
+hyperbole-autoloads.el: $(EL_COMPILE)
+ $(EMACS) $(BATCHFLAGS) -eval '(progn (setq generated-autoload-file
(expand-file-name "hyperbole-autoloads.el") backup-inhibited t)
(update-directory-autoloads "."))'
+
kotl/kotl-autoloads.el: $(EL_KOTL)
- $(EMACS) $(BATCHFLAGS) -eval '(progn (setq generated-autoload-file
(expand-file-name "kotl/kotl-autoloads.el")) (update-directory-autoloads
(expand-file-name "kotl/")))' && $(RM) kotl/kotl-autoloads.el~
-# $(EMACS) $(BATCHFLAGS) -eval '(progn (let ((generated-autoload-file
(expand-file-name "kotl/kotl-autoloads.el"))) (update-directory-autoloads
(expand-file-name "kotl/"))))' && sed -i '3 i ;; Copyright (C) 2017 Free
Software Foundation, Inc.\n;;' $@ && $(RM) kotl/kotl-autoloads.el~
+ $(EMACS) $(BATCHFLAGS) -eval '(progn (setq generated-autoload-file
(expand-file-name "kotl/kotl-autoloads.el") backup-inhibited t)
(update-directory-autoloads "kotl/"))'
# Used for ftp.gnu.org tarball distributions.
$(pkg_dir)/hyperbole-$(HYPB_VERSION).tar.gz:
@@ -322,7 +337,7 @@ $(pkg_dir)/hyperbole-$(HYPB_VERSION).tar: $(HYPERBOLE_FILES)
cd $(pkg_dir) && $(RM) -fr $(pkg_hyperbole)
$(pkg_hyperbole)-$(HYPB_VERSION)
cd .. && COPYFILE_DISABLE=1 $(TAR) -clf $(pkg_dir)/h.tar hyperbole
cd $(pkg_dir) && COPYFILE_DISABLE=1 $(TAR) xf h.tar && cd
$(pkg_hyperbole) && $(MAKE) packageclean
- cd $(pkg_hyperbole) && make kotl/kotl-autoloads.el && chmod 755
topwin.py && \
+ cd $(pkg_hyperbole) && make autoloads && chmod 755 topwin.py && \
cd $(pkg_dir) && $(RM) h.tar; \
mv $(pkg_hyperbole) $(pkg_hyperbole)-$(HYPB_VERSION) && \
COPYFILE_DISABLE=1 $(TAR) -clf
$(pkg_dir)/hyperbole-$(HYPB_VERSION).tar hyperbole-$(HYPB_VERSION)
- [elpa] externals/hyperbole f5a4e99 07/21: Set up Hyperbole for use from source folder, (continued)
- [elpa] externals/hyperbole f5a4e99 07/21: Set up Hyperbole for use from source folder, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 7520516 11/21: Merge pull request #14 from matsl/account-for-current-time-zone, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 210d000 05/21: Merge with 'elpa/externals/hyperbole', Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 8c64af9 06/21: Merge pull request #12 from matsl/merge-with-elpa, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole b155e83 01/21: 7.0.3.3 test release: Flash pathname implicit buttons; improve doc, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole bf789e0 18/21: Merge pull request #18 from matsl/add-hyperbole-banner, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 5cb81a3 09/21: Merge pull request #15 from matsl/use-shell-with-buf-name, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 519a7fc 14/21: Update pdf version of the manual, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 6b44594 13/21: Add src and bin targets for test release setup, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 966628e 20/21: Merge new logo from branch 'master' of github.com:rswgnu/hyperbole, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 0ed7d26 10/21: Merge pull request #16 from matsl/set-up-hyperbole-for-use-from-src-folder,
Stefan Monnier <=
- [elpa] externals/hyperbole 298fd12 15/21: Add optional key file path argument to e/ilinks, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole a9620d1 16/21: 7.0.5 test release: add Action Buttons section to Hyperbole manual, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 8792e1c 19/21: Large changeset: add action ibtype, symtables to speed ibtype lookup, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 62a9db3 21/21: 7.0.6 test release: many changes, new logo; ibtypes speedups, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole b4a2623 12/21: 7.0.4 test release: add Action Buttons and Implicit Button Names, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 985399e 17/21: New hyperbole banner, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 8f1f770 04/21: Apply some easy to fix flycheck suggestions, Stefan Monnier, 2019/10/04
- [elpa] externals/hyperbole 713aca8 08/21: Merge pull request #13 from matsl/easy-to-fix-flycheck-issues, Stefan Monnier, 2019/10/04