mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
Tools:
* gzip
* install
* rm
* strip
* tar
For the programs not checked in configure.ac:
From the manual of GNU Autoconf (version 2.71):
> If you use `AC_PROG_INSTALL`, you must include `install-sh` in your
> distribution
So set `install` just in the Makefile. Use `$(RM)` to ensure that `-f`
is always used and to make it easier to spot when `-r` is used.
See commit 93d623fdf ("build: allow overriding certain tools",
2024-02-23) / PR #6222.
26 lines
612 B
Makefile
26 lines
612 B
Makefile
.SUFFIXES:
|
|
ROOT = ..
|
|
-include $(ROOT)/config.mk
|
|
|
|
RM ?= rm -f
|
|
|
|
TESTS=$(patsubst %/,%,$(wildcard */))
|
|
|
|
.PHONY: $(TESTS)
|
|
$(TESTS):
|
|
cd $@ && ./$@.sh 2>&1 | tee $@.log
|
|
cd $@ && grep -a TESTING $@.log && ! grep -a -q "TESTING ERROR" $@.log
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
for test in $(TESTS); do $(RM) "$$test/$$test.log"; done
|
|
$(RM) -r environment/-testdir
|
|
$(RM) environment/index.html*
|
|
$(RM) environment/logfile*
|
|
$(RM) environment/wget-log*
|
|
$(RM) sysutils/firejail_t*
|
|
$(RM) utils/firejail-test-file*
|
|
$(RM) utils/index.html*
|
|
$(RM) utils/lstesting
|
|
$(RM) utils/wget-log
|
|
cd compile && (./compile.sh --clean || true)
|