[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/bnf-mode aed186d 54/74: Provided ability to build insta
From: |
Stefan Monnier |
Subject: |
[elpa] externals/bnf-mode aed186d 54/74: Provided ability to build installation package. |
Date: |
Thu, 9 May 2019 08:27:52 -0400 (EDT) |
branch: externals/bnf-mode
commit aed186d91b956e55e76867f2ce46506423c439e1
Author: Serghei Iakovlev <address@hidden>
Commit: Serghei Iakovlev <address@hidden>
Provided ability to build installation package.
---
.gitignore | 2 ++
CHANGELOG.org | 2 ++
Cask | 1 -
Makefile | 19 ++++++++++++++++---
dir | 18 ++++++++++++++++++
5 files changed, 38 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index 8a951a8..d650495 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,4 +9,6 @@
*.elc
.cask/
bnf-mode.info
+bnf-mode-pkg.el
+bnf-mode-*.tar
README
diff --git a/CHANGELOG.org b/CHANGELOG.org
index 5d0b6a7..01de194 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -11,6 +11,8 @@ The format is based on [[http://keepachangelog.com][Keep a
Changelog]] and this
- Return back =comment-start= and =comment-end= removed in
[[https://github.com/sergeyklay/bnf-mode/commit/83f0e0fc144e453bcce459d2d655a7b48e77953e][83f0e0f]]
- More intelligent terminal syntax recognition.
Added support of "=;=" character as an extra character used in terminals.
+- Provided ability to build installation package.
+ See =make help= for more.
** [[https://github.com/sergeyklay/bnf-mode/compare/0.3.1...0.3.2][0.3.2]] -
2019-03-24
*** Changed
diff --git a/Cask b/Cask
index 78bddd4..bd39524 100644
--- a/Cask
+++ b/Cask
@@ -9,7 +9,6 @@
(development
(depends-on "f")
- (depends-on "ert-x")
(depends-on "cl-lib")
(depends-on "ert-runner")
(depends-on "undercover"))
diff --git a/Makefile b/Makefile
index 02078b4..62bb55d 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,7 @@ ROOT_DIR := $(shell dirname $(realpath $(lastword
$(MAKEFILE_LIST))))
EMACS ?= emacs
CASK ?= cask
PANDOC ?= pandoc
+TAR ?= COPYFILE_DISABLE=1 bsdtar
EMACSFLAGS ?=
TESTFLAGS ?= --reporter ert+duration
@@ -39,8 +40,9 @@ PKGDIR := $(shell EMACS=$(EMACS) $(CASK) package-directory)
SRCS = bnf-mode.el
OBJS = $(SRCS:.el=.elc)
-ARCHIVE_NAME=bnf-mode
+ARCHIVE_NAME = bnf-mode
VERSION ?= $(shell $(CASK) version)
+PACKAGE_NAME = $(ARCHIVE_NAME)-$(VERSION)
.SILENT: ; # no need for @
.ONESHELL: ; # recipes execute in same shell
@@ -81,6 +83,12 @@ $(ARCHIVE_NAME).info: README.org
README: README.org
$(call org-clean,$^) | $(PANDOC) $(PANDOCLAGS) -t plain -o $@
+$(ARCHIVE_NAME)-pkg.el: $(ARCHIVE_NAME).el
+ $(CASK) pkg-file
+
+$(PACKAGE_NAME).tar: README $(ARCHIVE_NAME).el $(ARCHIVE_NAME)-pkg.el
$(ARCHIVE_NAME).info dir
+ $(TAR) -c -s "@address@hidden(PACKAGE_NAME)/@" -f $(PACKAGE_NAME).tar $^
+
# Public targets
.PHONY: .title
@@ -104,7 +112,10 @@ test:
.PHONY: clean
clean:
$(CASK) clean-elc
- $(RM) -f README
+ $(RM) -f README $(ARCHIVE_NAME).info $(ARCHIVE_NAME)-pkg.el
+
+.PHONY: package
+package: $(PACKAGE_NAME).tar
.PHONY: help
help: .title
@@ -117,9 +128,11 @@ help: .title
echo ' build: Byte compile BNF Mode package'
echo ' test: Run the non-interactive unit test suite'
echo ' clean: Remove all byte compiled Elisp files'
+ echo ' package: Build package'
echo ''
echo 'Available programs:'
echo ' $(CASK): $(if $(HAVE_CASK),yes,no)'
echo ''
- echo 'You need $(CASK) to develop BNF Mode. See
http://cask.readthedocs.io/ for more.'
+ echo 'You need $(CASK) to develop BNF Mode.'
+ echo 'See http://cask.readthedocs.io/ for more.'
echo ''
diff --git a/dir b/dir
new file mode 100644
index 0000000..f96d9de
--- /dev/null
+++ b/dir
@@ -0,0 +1,18 @@
+This is the file .../info/dir, which contains the
+topmost node of the Info hierarchy, called (dir)Top.
+The first time you invoke Info you start off looking at this node.
+
+File: dir, Node: Top This is the top of the INFO tree
+
+ This (the Directory node) gives a menu of major topics.
+ Typing "q" exits, "?" lists all Info commands, "d" returns here,
+ "h" gives a primer for first-timers,
+ "mEmacs<Return>" visits the Emacs manual, etc.
+
+ In Emacs, you can click mouse button 2 on a menu item or cross reference
+ to select it.
+
+* Menu:
+
+Languages
+* BNF Mode: (bnf-mode). Major mode for editing BNF grammars.
- [elpa] externals/bnf-mode 89660ba 44/74: Removing emacs26-el package solves "Recursive load" issue, (continued)
- [elpa] externals/bnf-mode 89660ba 44/74: Removing emacs26-el package solves "Recursive load" issue, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode c836c7c 19/74: Temporarily removed ABNF, amended tests, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 5b6ff92 41/74: Update copyright, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode e9a5e4a 45/74: Return back comment-start and comment-end, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 3eda5e7 48/74: This package is NOT part of GNU Emacs, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode ebd9b83 51/74: Added ability to generate info, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 7a4a1b0 55/74: Build package on Travis CI, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode f00edff 56/74: Prepare deploy on Travis CI, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 1105934 59/74: Cleaned up Travis CI config, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 548c33b 58/74: Bump version, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode aed186d 54/74: Provided ability to build installation package.,
Stefan Monnier <=
- [elpa] externals/bnf-mode 119d792 72/74: Added Emacs 26.2 to Travis CI build matrix, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode a4ca649 74/74: Remove wrongly used (and documented) syntax-propertize-function call, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode a9d6cc3 60/74: Merge pull request #3 from sergeyklay/feature/build-pkg, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 13de9e1 06/74: Updated project description, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 387b4c3 46/74: Minor code cleanup, improved tests report, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode d5729af 71/74: Fixed dependencies in Cask file, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode b02bebd 70/74: The byte-compiler reports warnings with "error", Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 00aac58 62/74: Change CI deploy credits, bump version, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 5a483ed 64/74: Introduce ALGOL 60 comments style, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 592c7d4 68/74: Minor improvements in change log, Stefan Monnier, 2019/05/09