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:
parent
13ac2e8b3f
commit
95dbde278c
2
Makefile
2
Makefile
@ -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; \
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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 $@
|
||||||
|
Loading…
Reference in New Issue
Block a user