mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-16 14:16:16 -06:00
build: simplify clean target
Move some clean commands into more relevant makefiles.
This commit is contained in:
parent
3675da93ae
commit
152a21f151
3 changed files with 12 additions and 11 deletions
11
Makefile
11
Makefile
|
|
@ -175,17 +175,6 @@ clean:
|
|||
rm -f $(SECCOMP_FILTERS)
|
||||
rm -f $(SYNTAX_FILES)
|
||||
rm -f firejail*.rpm
|
||||
rm -f src/fnettrace/static-ip-map
|
||||
rm -fr test/environment/-testdir
|
||||
rm -f test/environment/index.html*
|
||||
rm -f test/environment/logfile*
|
||||
rm -f test/environment/wget-log*
|
||||
rm -f test/sysutils/firejail_t*
|
||||
rm -f test/utils/firejail-test-file*
|
||||
rm -f test/utils/index.html*
|
||||
rm -f test/utils/lstesting
|
||||
rm -f test/utils/wget-log
|
||||
cd test/compile; ./compile.sh --clean; cd ../..
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: clean
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ MOD_DIR = $(ROOT)/src/$(MOD)
|
|||
PROG = $(MOD_DIR)/$(MOD)
|
||||
TARGET = $(PROG)
|
||||
|
||||
CLEANFILES += static-ip-map
|
||||
|
||||
include $(ROOT)/src/prog.mk
|
||||
|
||||
all: $(TARGET) static-ip-map
|
||||
|
|
|
|||
|
|
@ -12,3 +12,13 @@ $(TESTS):
|
|||
.PHONY: clean
|
||||
clean:
|
||||
for test in $(TESTS); do rm -f "$$test/$$test.log"; done
|
||||
rm -fr environment/-testdir
|
||||
rm -f environment/index.html*
|
||||
rm -f environment/logfile*
|
||||
rm -f environment/wget-log*
|
||||
rm -f sysutils/firejail_t*
|
||||
rm -f utils/firejail-test-file*
|
||||
rm -f utils/index.html*
|
||||
rm -f utils/lstesting
|
||||
rm -f utils/wget-log
|
||||
cd compile && ./compile.sh --clean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue