13 Commits

Author SHA1 Message Date
Elie Le Vaillant
46c00d58d5 bc: small fixes regarding bc.library 2026-01-17 21:16:35 +01:00
Roberto E. Vargas Caballero
c11a21f426 build: Install bc library 2025-12-13 16:06:45 +01:00
Roberto E. Vargas Caballero
7a83a53554 sbase-box: Don't show xinstall in the usage 2025-11-13 12:44:25 +01:00
Roberto E. Vargas Caballero
1281dc4f90 make: Add initial version
This implementation is ported from the scc compiler with
the author permission to re license it with sbase license.
Using this make implementation to bootstrap sbase removes
the problems found by some buggy make implementations
(specially in the case of OpenBSD). It has a drawback
that the options passed for parallel build with -j are
ignored(improvement are expected).

Due to the multi file nature of make, embedding it in
sbas-box creates some problems, and for now, we keep
it out of sbase-box.
2025-10-08 09:11:26 +02:00
Roberto E. Vargas Caballero
ac6d382515 build: Fix sbase-box-install target
The target tried to execute a non valid shell script
and there was a possibility to fatorize the creation
of the proto file instead of repeating it in all
the actions that required.
2024-03-12 17:11:35 +01:00
Jules Maselbas
e24228e062 sbase-box: Fix segmentation fault when exe without args
when sbase-box is executed without argument, the check sbase-box
options doesn't verify the argument count leading to a segfault.

Add a check on the argc before parsing sbase-box options (currently
only `-i`)
2023-12-28 20:16:54 +01:00
Quentin Rameau
870b26af8e scripts: Fix non-portable find -perm /mode 2023-11-14 19:35:23 +01:00
Quentin Rameau
f496998f4f scripts: Fix non-portable usage of find -maxdepth 2023-11-14 19:35:03 +01:00
Quentin Rameau
6fc6bbbf71 scripts: Force file copying on install
This would otherwise cause an issue using cp to copy cp to itself.
2023-11-14 19:34:27 +01:00
Roberto E. Vargas Caballero
ddde8021b3 Simplify install/uninstall 2023-09-27 07:59:27 +02:00
Roberto E. Vargas Caballero
986bbb9253 sbase-box: Add -i flag 2023-09-27 07:59:27 +02:00
Roberto E. Vargas Caballero
58ec1f6285 build: Move getconf.sh to scripts
The scripts directory is meant to contain all the scripts needed
in the build.
2023-09-27 07:59:27 +02:00
Roberto E. Vargas Caballero
3c36fb4177 sbase-box: Simplify Makefile rule
The Makefile rule was too complex and these cases is better to just
move it to a script where will be eassier to use sed properly
and not looping over all the files 4 times.
2023-09-27 07:10:05 +02:00