[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql 6318472b20 223/427: Link the Makefiles together.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql 6318472b20 223/427: Link the Makefiles together. |
Date: |
Tue, 13 Dec 2022 02:59:46 -0500 (EST) |
branch: elpa/emacsql
commit 6318472b20dbc54728808d1579f45c973c88c8a7
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>
Link the Makefiles together.
---
Makefile | 14 ++++++++++----
sqlite/Makefile | 2 +-
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 4ee2f453be..a46a819341 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ EL = emacsql-compiler.el emacsql-system.el emacsql.el \
ELC = $(EL:.el=.elc)
EXTRA_DIST = README.md UNLICENSE
-.PHONY : all compile package test clean
+.PHONY : all binary compile package test clean distclean
all : test
@@ -19,7 +19,10 @@ all : test
cask install
touch .cask
-compile: .cask $(ELC)
+binary :
+ $(MAKE) -C sqlite
+
+compile: .cask $(ELC) binary
package : $(PACKAGE)-$(VERSION).tar
@@ -32,8 +35,11 @@ $(PACKAGE)-$(VERSION).tar : $(EL) $(PACKAGE)-pkg.el
$(EXTRA_DIST)
test: compile $(PACKAGE)-tests.elc
$(BATCH) -l $(PACKAGE)-tests.elc -f ert-run-tests-batch
-clean:
+clean :
$(RM) *.tar *.elc $(PACKAGE)-pkg.el
-%.elc: %.el
+distclean :
+ $(MAKE) -C sqlite clean
+
+%.elc : %.el
$(BATCH) -f batch-byte-compile $<
diff --git a/sqlite/Makefile b/sqlite/Makefile
index c8e34aea94..4154b99178 100644
--- a/sqlite/Makefile
+++ b/sqlite/Makefile
@@ -3,7 +3,7 @@ ifeq ($(OS),Windows_NT)
BINARY = emacsql-sqlite-$(OSTUPLE).exe
else
PART_ARCH = $(shell uname -m)
- PART_OS = $(shell uname -ms | tr '[A-Z]' '[a-z]')
+ PART_OS = $(shell uname -s | tr '[A-Z]' '[a-z]')
OSTUPLE = $(PART_ARCH)-$(PART_OS)
BINARY = emacsql-sqlite-$(OSTUPLE)
LDLIBS = -ldl
- [nongnu] elpa/emacsql 8fa7c00978 170/427: Add sentinel cleanup to psql., (continued)
- [nongnu] elpa/emacsql 8fa7c00978 170/427: Add sentinel cleanup to psql., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6d17256e1b 171/427: Add a mix-in class to reduce code duplication., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 749becb017 181/427: Disable notices and warnings in psql., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql e42d939235 187/427: In SQLite, block for up to 30 seconds on db lock., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 3ba9109d45 198/427: Start using real version numbers., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql de0bde9a02 207/427: Use Cask package-file directive instead., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql bb3dbfc891 213/427: Set a global query timeout., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 394bb062aa 219/427: Add a small library for determining binary to use., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql f030b9952d 224/427: Fix up psql-connection., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql dc2afbbc1f 221/427: Adjust the Emacsql wire protocol., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6318472b20 223/427: Link the Makefiles together.,
ELPA Syncer <=
- [nongnu] elpa/emacsql a7728339ba 216/427: Switch to custom middleware., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ab53199d07 232/427: Fix escaping issue in middleware., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6ad267f93b 229/427: Change :value to :scalar., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1146f2e26a 233/427: Flesh out the changes in the README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ed77eac846 237/427: Add string prepared statements., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 847196cafa 226/427: Set tty to raw in psql., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 3e5ce21b0d 242/427: Tweak the new implementation notes., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a459708684 244/427: Move tests into their own directory., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4db068920d 247/427: Provide MySQL front-end., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql dce6736e04 249/427: Oops, add new MySQL module to the Makefile., ELPA Syncer, 2022/12/13