[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 $@ ; \
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 )
DISTDIR := $(RELEASE_NAME)
srcdir = .

View File

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

View File

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

View File

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

View File

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

View File

@ -29,3 +29,4 @@ uninstall:
clean:
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:
rm -f $(PROG) $(OBJS) $(GEN_HEADER)
spotless: clean
$(PROG): $(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:
rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm
spotless: clean