Browse Source

Make: igr-tests and src/: Some cleanup for `make clean` (#140)

Remove some targets that were missed by make clean.

Signed-off-by: Mobin Aydinfar <mobin@mobintestserver.ir>
Hojjat 1 year ago
parent
commit
ca3ae5ab48
2 changed files with 3 additions and 3 deletions
  1. 1 1
      src/Makefile
  2. 2 2
      src/igr-tests/Makefile

+ 1 - 1
src/Makefile

@@ -58,7 +58,7 @@ endif
 
 clean:
 	rm -f *.o *.d
-	rm -f dinit dinitctl dinitcheck shutdown dinit-monitor
+	rm -f dinit dinitctl dinitcheck $(SHUTDOWN_PREFIX)shutdown dinit-monitor
 	$(MAKE) -C tests clean
 	$(MAKE) -C igr-tests clean
 

+ 2 - 2
src/igr-tests/Makefile

@@ -7,8 +7,8 @@ igr-runner: igr-runner.cc
 	$(CXX) $(CXXOPTS) igr-runner.cc -o igr-runner
 
 clean:
-	rm -f igr-runner basic/basic-ran environ/env-record ps-environ/env-record chain-to/recorded-output
+	rm -f igr-runner basic/basic-ran environ/env-record ps-environ/env-record chain-to/recorded-output var-subst/args-record
 	rm -f restart/basic-ran
-	rm -f check-basic/output.txt check-cycle/output.txt
+	rm -f check-basic/output.txt check-lint/output.txt check-cycle/output.txt no-command-error/dinit-run.log
 	rm -rf reload1/sd
 	rm -rf reload2/sd