[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/scala-mode cddd00c 119/217: provide a package target to ma
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/scala-mode cddd00c 119/217: provide a package target to make a marmalade compatible package |
Date: |
Sun, 29 Aug 2021 11:30:55 -0400 (EDT) |
branch: elpa/scala-mode
commit cddd00c77b7249473f9bf159ee6ea8f63b041d19
Author: Nic Ferrier <nferrier@ferrier.me.uk>
Commit: Nic Ferrier <nferrier@ferrier.me.uk>
provide a package target to make a marmalade compatible package
---
Makefile | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 9288123..6baeaf0 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,7 @@ ELISP_FILES += scala-mode2-indent
ELISP_FILES += scala-mode2-paragraph
ELISP_FILES += scala-mode2-fontlock
ELISP_FILES += scala-mode2-map
+ELISP_FILES += scala-mode2-sbt
ELISP_FILES += scala-mode2-pkg
ELISP_SOURCES += $(ELISP_FILES:%=$(SOURCE_DIR)/%.el)
@@ -36,7 +37,12 @@ ELISP_SOURCES +=
$(ELISP_FILES:%=$(SOURCE_DIR)/%.el)
##############################################################################
RM ?= rm -f
+RMDIR ?= rmdir
TOUCH ?= touch
+EMACSBIN ?= ~/emacs/bin/emacs
+
+# Strip the version out of the pkg file
+VERSION = $(shell [ -x ${EMACSBIN} ] && ${EMACSBIN} --batch
--eval '(princ (format "%s\n" (car (cddr (read (find-file
"scala-mode2-pkg.el"))))))' | grep -v Loading)
##############################################################################
# Commands
@@ -44,7 +50,9 @@ TOUCH ?= touch
all: .latest-build
clean:
- $(RM) *.elc .latest-* autoloads.el
+ $(RM) *.elc .latest-* autoloads.el scala-mode2-$(VERSION).tar
+ [ -d scala-mode2-$(VERSION) ] && $(RM) scala-mode2-$(VERSION)/*
+ [ -d scala-mode2-$(VERSION) ] && $(RMDIR) scala-mode2-$(VERSION)
.PHONY: all
.PHONY: clean
@@ -61,6 +69,10 @@ clean:
autoloads: $(ELISP_SOURCES)
emacs -batch -q --no-site-file --eval "(setq make-backup-files nil)"
--eval "(setq generated-autoload-file (expand-file-name \"autoloads.el\"))" -f
batch-update-autoloads `pwd`
+package:
+ mkdir -p scala-mode2-$(VERSION)
+ cp $(ELISP_SOURCES) scala-mode2-$(VERSION)
+ tar cf scala-mode2-$(VERSION).tar scala-mode2-$(VERSION)
## SCALA LICENSE
- [nongnu] elpa/scala-mode 56280a2 062/217: Made scala-indent:indent-on-scaladoc-asterisk be an integral part of the mode., (continued)
- [nongnu] elpa/scala-mode 56280a2 062/217: Made scala-indent:indent-on-scaladoc-asterisk be an integral part of the mode., ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode caaebbd 078/217: Rm unneccessary `integerp` invocation., ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode b251627 079/217: Comment out example binding of `scala-indent:insert-asterisk-on-multiline-comment`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode f4b5a6b 095/217: Add .sbt to config, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 037d202 090/217: Merge pull request #44 from vn971/patch-1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode cc2db35 100/217: indent case body only if first case statement is on its own line, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode e3f91eb 101/217: octal escapes for chars and strings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 74e5194 108/217: sbt support for scala-mode2, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 4581995 111/217: defined find-tag-default-function, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 2e514f8 118/217: proper instructions for sbt-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode cddd00c 119/217: provide a package target to make a marmalade compatible package,
ELPA Syncer <=
- [nongnu] elpa/scala-mode ecbed5f 121/217: use the existing ELISP_COMMAND instead of EMACSBIN, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode c53742a 122/217: add Marmalade instructions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 3df7da0 133/217: Merge pull request #66 from corruptmemory/improved-syntax, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 69e071e 140/217: scala-syntax:forward-modifiers: Unmatched [ or [^ error, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode d8a141b 125/217: Makefile clean-up, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 34888c0 142/217: Update README.md, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode f03a582 141/217: Merge pull request #83 from ancane/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 461f9a5 134/217: Fix issue #63 and names with _ and reserved word, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode ababc73 151/217: remove interactive, update filename., ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 27efa44 019/217: updated README, added LICENSE, ELPA Syncer, 2021/08/29