make: Make "make clean" use @ and rm -v everywhere

This makes our "make clean" commands show what they've /removed/, rather
than what the shell code that will be run is.

Signed-off-by: Richard Hughes <richard@hughsie.com>
Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2024-03-18 13:16:17 +00:00 committed by Nigel Croxon
parent 13ac2e8b3f
commit 95dbde278c
4 changed files with 4 additions and 4 deletions

View File

@ -82,7 +82,7 @@ $(SUBDIRS):
$(MAKE) -C $(OBJDIR)/$@ -f $(SRCDIR)/$@/Makefile SRCDIR=$(SRCDIR)/$@ ARCH=$(ARCH) $(MAKE) -C $(OBJDIR)/$@ -f $(SRCDIR)/$@/Makefile SRCDIR=$(SRCDIR)/$@ ARCH=$(ARCH)
clean: clean:
rm -f *~ @rm -vrf *~
@set -e ; for d in $(SUBDIRS); do \ @set -e ; for d in $(SUBDIRS); do \
if [ -d $(OBJDIR)/$$d ]; then \ if [ -d $(OBJDIR)/$$d ]; then \
$(MAKE) -C $(OBJDIR)/$$d -f $(SRCDIR)/$$d/Makefile SRCDIR=$(SRCDIR)/$$d clean; \ $(MAKE) -C $(OBJDIR)/$$d -f $(SRCDIR)/$$d/Makefile SRCDIR=$(SRCDIR)/$$d clean; \

View File

@ -92,7 +92,7 @@ all: $(TARGETS)
ctors_test.so : ctors_fns.o ctors_test.o ctors_test.so : ctors_fns.o ctors_test.o
clean: clean:
rm -f $(TARGETS) *~ *.o *.so @rm -vf $(TARGETS) *~ *.o *.so
install: install:
mkdir -p $(INSTALLROOT)$(APPSDIR) mkdir -p $(INSTALLROOT)$(APPSDIR)

View File

@ -69,7 +69,7 @@ gnu-efi.pc:
clean: clean:
rm -f $(TARGETS) *~ *.o $(OBJS) @rm -vf $(TARGETS) *~ *.o $(OBJS)
install: install:
mkdir -p $(INSTALLROOT)$(LIBDIR) mkdir -p $(INSTALLROOT)$(LIBDIR)

View File

@ -80,7 +80,7 @@ libefi.a: $(OBJS)
$(AR) $(ARFLAGS) $@ $^ $(AR) $(ARFLAGS) $@ $^
clean: clean:
rm -f libefi.a *~ $(OBJS) */*.o @rm -vf libefi.a *~ $(OBJS) */*.o
$(LIBDIRINSTALL): $(LIBDIRINSTALL):
mkdir -p $@ mkdir -p $@