summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-11-27 08:37:01 -0300
committerEuAndreh <eu@euandre.org>2023-11-27 08:37:05 -0300
commite9e0d3b379cf90a44306d093bf814b62704650c4 (patch)
treea130d8e92ca0c2dbc354151721bce2673036260a
parenttests/js/db.js: Disable test for incomplete code (diff)
downloadpapod-e9e0d3b379cf90a44306d093bf814b62704650c4.tar.gz
papod-e9e0d3b379cf90a44306d093bf814b62704650c4.tar.xz
Makefile: Fix missing installation of the `src/cli` executable
The `$PREFIX/bin/papo` was being installed as a symlink, but the target was empty.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3e37f40..3c4479f 100644
--- a/Makefile
+++ b/Makefile
@@ -229,7 +229,7 @@ install: all
mkdir -p \
'$(DESTDIR)$(BINDIR)' \
'$(DESTDIR)$(JSLIBDIR)'
- cp -P src/*.js '$(DESTDIR)$(JSLIBDIR)'
+ cp -P src/cli src/*.js '$(DESTDIR)$(JSLIBDIR)'
ln -fs '$(DESTDIR)$(JSLIBDIR)'/cli '$(DESTDIR)$(BINDIR)'/$(NAME)
for f in $(sources); do \
dir='$(DESTDIR)$(SRCDIR)'/"`dirname "$${f#src/}"`"; \