commit fdcca1be51cad2c0b53d41d829830c1a7070def0
parent 0ae546333bdbf9f489f8a9508711bf5081bff1cc
Author: Eduardo Santos <eduardo.experimental@gmail.com>
Date: Thu, 28 Aug 2025 12:26:20 -0300
Makefile: copy scripts in dist recipe
Building from the tarball fails:
curl --no-progress-meter https://dl.suckless.org/sbase/sbase-0.1.tar.gz \
| tar -xz --strip-components=1 \
&& make >/dev/null
ar: creating libutf.a
ar: creating libutil.a
/bin/sh: line 1: scripts/getconf.sh: No such file or directory
make: *** [Makefile:221: getconf.h] Error 127
The scripts contained in the script directory are required
for several make targets (including all, install, uninstall,
sbase-box and maybe some others).
Signed-off-by: Eduardo Santos <eduardo.experimental@gmail.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -254,7 +254,7 @@ sbase-box-uninstall: sbase-box proto
dist: clean
mkdir -p sbase
- cp -R LICENSE Makefile README TODO config.mk *.c *.1 *.h libutf libutil make sbase
+ cp -R LICENSE Makefile README TODO config.mk *.c *.1 *.h libutf libutil make scripts sbase
mv sbase sbase-$(VERSION)
tar -cf sbase-$(VERSION).tar sbase-$(VERSION)
gzip sbase-$(VERSION).tar