summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-11-27 08:50:22 -0300
committerEuAndreh <eu@euandre.org>2023-11-27 08:50:22 -0300
commitadd43089f069b25d3163d965e424925f3d3a101b (patch)
tree2afc09b70b1588bbad44aedfe18bea5e431fd814
parentMakefile: Fix missing installation of the `src/cli` executable (diff)
downloadpapod-add43089f069b25d3163d965e424925f3d3a101b.tar.gz
papod-add43089f069b25d3163d965e424925f3d3a101b.tar.xz
Makefile: Fix missing installation of the `napi-sqlite.{c,node}` source and executable
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3c4479f..7ea9c19 100644
--- a/Makefile
+++ b/Makefile
@@ -85,6 +85,7 @@ sources = \
$(catalogs.msg) \
$(sources.js) \
src/cli \
+ src/napi-sqlite.c \
derived-assets = \
@@ -229,7 +230,7 @@ install: all
mkdir -p \
'$(DESTDIR)$(BINDIR)' \
'$(DESTDIR)$(JSLIBDIR)'
- cp -P src/cli src/*.js '$(DESTDIR)$(JSLIBDIR)'
+ cp -P src/cli src/*.node src/*.js '$(DESTDIR)$(JSLIBDIR)'
ln -fs '$(DESTDIR)$(JSLIBDIR)'/cli '$(DESTDIR)$(BINDIR)'/$(NAME)
for f in $(sources); do \
dir='$(DESTDIR)$(SRCDIR)'/"`dirname "$${f#src/}"`"; \