[PATCH] make spotless

klibc has a target make spotless, this patch makes it possible to clean
the whole udev tree and start from scratch.
This commit is contained in:
olh@suse.de 2004-03-12 23:52:21 -08:00 committed by Greg KH
parent b1224bc0da
commit 2761f9b951
8 changed files with 14 additions and 0 deletions

View file

@ -305,6 +305,8 @@ clean:
-C $$target $@ ; \ -C $$target $@ ; \
done ; \ done ; \
spotless: clean
DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v -e CVS -e "\.tar\.gz$" -e "\/\." -e releases -e BitKeeper -e SCCS -e "\.tdb$" -e test/sys | sort ) DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v -e CVS -e "\.tar\.gz$" -e "\/\." -e releases -e BitKeeper -e SCCS -e "\.tdb$" -e test/sys | sort )
DISTDIR := $(RELEASE_NAME) DISTDIR := $(RELEASE_NAME)
srcdir = . srcdir = .

View file

@ -32,6 +32,8 @@ clean: recurse_clean
@echo "" @echo ""
@echo "Make complete" @echo "Make complete"
spotless: clean
install: recurse_install install: recurse_install
@echo "" @echo ""
@echo "Make complete" @echo "Make complete"

View file

@ -36,6 +36,8 @@ $(EXEC): $(OBJS)
clean: clean:
rm -f core *.o $(EXEC) *.gz rm -f core *.o $(EXEC) *.gz
spotless: clean
install: install:
install -d $(DESTDIR)$(bindir) install -d $(DESTDIR)$(bindir)
install -m 755 $(EXEC) $(DESTDIR)$(bindir)/ install -m 755 $(EXEC) $(DESTDIR)$(bindir)/

View file

@ -23,6 +23,8 @@ all: $(OBJS)
clean: clean:
rm -f core *.o ioctl/*.o ioctl/*.so rm -f core *.o ioctl/*.o ioctl/*.so
spotless: clean
install: install:
uninstall: uninstall:

View file

@ -43,6 +43,8 @@ $(EXEC): $(OBJS)
clean: clean:
rm -f core *.o $(EXEC) *.gz rm -f core *.o $(EXEC) *.gz
spotless: clean
install: install:
install -d $(DESTDIR)$(bindir) install -d $(DESTDIR)$(bindir)
install -m 755 $(EXEC) $(DESTDIR)$(bindir)/ install -m 755 $(EXEC) $(DESTDIR)$(bindir)/

View file

@ -29,3 +29,4 @@ uninstall:
clean: clean:
rm -f core *.o $(EXEC) *.gz rm -f core *.o $(EXEC) *.gz
spotless: clean

View file

@ -70,5 +70,6 @@ $(OBJS): scsi_id.h scsi.h scsi_id_version.h
clean: clean:
rm -f $(PROG) $(OBJS) $(GEN_HEADER) rm -f $(PROG) $(OBJS) $(GEN_HEADER)
spotless: clean
$(PROG): $(OBJS) $(PROG): $(OBJS)
$(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS) $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS)

View file

@ -28,3 +28,5 @@ tdbbackup: tdbbackup.o $(TDB_OBJ)
clean: clean:
rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm
spotless: clean