mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Simplify default clean rules
This commit is contained in:
parent
af564bb101
commit
44dcf89071
@ -133,11 +133,9 @@ init-default:
|
||||
$(MKINSTALLDIRS) $(subdir) >/dev/null; \
|
||||
echo 'include $(SRC)/$(RELPATH)/$(subdir)/Makefile' > $(subdir)/Makefile;)
|
||||
|
||||
clean-default: clean-test
|
||||
clean-default cleanall-default:
|
||||
@-test -z "$(CLEAN)" || $(RM) $(CLEAN)
|
||||
|
||||
cleanall-default: clean-default
|
||||
|
||||
check-default:
|
||||
ifneq ($(SPARSE),)
|
||||
@$(foreach file, $(wildcard *.c), \
|
||||
@ -149,7 +147,6 @@ endif
|
||||
# Auto-testing infrastructure
|
||||
#
|
||||
|
||||
clean-test:
|
||||
test-default:
|
||||
|
||||
ifdef TEST_PROGS
|
||||
@ -173,6 +170,7 @@ clean-test:
|
||||
@rm -fr trash
|
||||
|
||||
CLEAN += $(TEST_PROGS) $(addsuffix .o,$(TEST_PROGS))
|
||||
clean-default: clean-test
|
||||
endif
|
||||
|
||||
.PHONY: $(TESTS)
|
||||
|
Loading…
Reference in New Issue
Block a user