[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/bluetooth b60b76c 10/33: add Makefile and remove now un
From: |
Stefan Monnier |
Subject: |
[elpa] externals/bluetooth b60b76c 10/33: add Makefile and remove now unused bluetooth-test* files |
Date: |
Sat, 19 Sep 2020 08:43:21 -0400 (EDT) |
branch: externals/bluetooth
commit b60b76c61a97a239e75a754fc5f2844c7632c5ac
Author: Raffael Stocker <r.stocker@mnet-mail.de>
Commit: Raffael Stocker <r.stocker@mnet-mail.de>
add Makefile and remove now unused bluetooth-test* files
---
Makefile | 40 ++++++++++++++++++++++++++++++++++++++++
bluetooth-test | 3 ---
bluetooth-test.el | 3 ---
3 files changed, 40 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..62b1c37
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,40 @@
+# Updating dependencies:
+# ELPA master branch (for hydra):
+# git clone git://git.savannah.gnu.org/emacs/elpa.git
+# ELPA externals setup:
+# make depsetup
+# ELPA externals update
+# make depupdate
+
+.POSIX:
+EMACS = emacs
+EL = bluetooth.el
+ELPA_EXT = dash
+LDFLAGS = -L ./dep/dash -L ../elpa/packages/hydra
+
+.PHONY: compile clean depclean depsetup depupdate run
+
+compile: $(EL:.el=.elc)
+
+clean:
+ rm -f bluetooth.elc
+
+depclean:
+ rm -rf ./dep/*
+
+depsetup:
+ mkdir -p ./dep
+ $(foreach dep,$(ELPA_EXT),git clone \
+ git://git.savannah.gnu.org/emacs/elpa.git \
+ --single-branch --branch externals/$(dep) ./dep/$(dep);)
+
+depupdate:
+ $(foreach dep,$(ELPA_EXT),cd ./dep/$(dep) && git pull && cd ..)
+
+.SUFFIXES: .el .elc
+.el.elc:
+ $(EMACS) -Q --batch -L . $(LDFLAGS) -f batch-byte-compile $<
+
+run: $(EL:.el=.elc)
+ $(EMACS) -Q -L . $(LDFLAGS) --eval "(load \"bluetooth\")" \
+ --eval "(bluetooth-list-devices)" &
diff --git a/bluetooth-test b/bluetooth-test
deleted file mode 100755
index b113d6a..0000000
--- a/bluetooth-test
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-/usr/bin/emacs -Q -l bluetooth-test.el &
diff --git a/bluetooth-test.el b/bluetooth-test.el
deleted file mode 100644
index 182c34a..0000000
--- a/bluetooth-test.el
+++ /dev/null
@@ -1,3 +0,0 @@
-(package-initialize)
-(byte-compile-file "bluetooth.el" t)
-(bluetooth-list-devices)
- [elpa] externals/bluetooth updated (9ea7bad -> 28d16f6), Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth 8d4b762 01/33: fixes indent declaration in macros, generalises function name regexp, Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth 94d9827 05/33: displays MAC address if alias is unknown (pairing agent), Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth 2f8f31c 08/33: adds an unload function, Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth b60b76c 10/33: add Makefile and remove now unused bluetooth-test* files,
Stefan Monnier <=
- [elpa] externals/bluetooth e15f6d0 14/33: Revert "add local variable for flycheck mode", Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth 1649156 06/33: removes incorrect mode-info clean-up, Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth 1758202 18/33: correct indentation, Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth e95f30b 20/33: avoid using undocumented value of ‘push’, Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth 24d3c4a 03/33: fixes column widths in list format so sorting arrows are visible, Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth f81cb13 04/33: removes unnecessary `save-match-data' invocations, Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth 6813a70 02/33: fixes comments to conform to Elisp conventions, Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth fba1988 07/33: adds a simple compile/test setup script, Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth 53323b9 09/33: matches case sensitively in bluetooth--function-name, Stefan Monnier, 2020/09/19
- [elpa] externals/bluetooth 8f3dcaa 11/33: move some of the comments into docstrings, Stefan Monnier, 2020/09/19