From 2761f9b951057c3ed0aaac73f5e003b0d23805f9 Mon Sep 17 00:00:00 2001 From: "olh@suse.de" Date: Fri, 12 Mar 2004 23:52:21 -0800 Subject: [PATCH] [PATCH] make spotless klibc has a target make spotless, this patch makes it possible to clean the whole udev tree and start from scratch. --- Makefile | 2 ++ extras/multipath-tools/Makefile | 2 ++ extras/multipath-tools/devmap_name/Makefile | 2 ++ extras/multipath-tools/libdevmapper/Makefile | 2 ++ extras/multipath-tools/multipath/Makefile | 2 ++ extras/multipath-tools/multipathd/Makefile | 1 + extras/scsi_id/Makefile | 1 + tdb/Makefile | 2 ++ 8 files changed, 14 insertions(+) diff --git a/Makefile b/Makefile index 23aef066..2c9472a0 100644 --- a/Makefile +++ b/Makefile @@ -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 = . diff --git a/extras/multipath-tools/Makefile b/extras/multipath-tools/Makefile index 2f21f0d1..fa883008 100644 --- a/extras/multipath-tools/Makefile +++ b/extras/multipath-tools/Makefile @@ -32,6 +32,8 @@ clean: recurse_clean @echo "" @echo "Make complete" +spotless: clean + install: recurse_install @echo "" @echo "Make complete" diff --git a/extras/multipath-tools/devmap_name/Makefile b/extras/multipath-tools/devmap_name/Makefile index a9683341..e3b70a5e 100644 --- a/extras/multipath-tools/devmap_name/Makefile +++ b/extras/multipath-tools/devmap_name/Makefile @@ -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)/ diff --git a/extras/multipath-tools/libdevmapper/Makefile b/extras/multipath-tools/libdevmapper/Makefile index 445263ca..4a8b7723 100644 --- a/extras/multipath-tools/libdevmapper/Makefile +++ b/extras/multipath-tools/libdevmapper/Makefile @@ -23,6 +23,8 @@ all: $(OBJS) clean: rm -f core *.o ioctl/*.o ioctl/*.so +spotless: clean + install: uninstall: diff --git a/extras/multipath-tools/multipath/Makefile b/extras/multipath-tools/multipath/Makefile index 4121f4fc..4c0fae6d 100644 --- a/extras/multipath-tools/multipath/Makefile +++ b/extras/multipath-tools/multipath/Makefile @@ -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)/ diff --git a/extras/multipath-tools/multipathd/Makefile b/extras/multipath-tools/multipathd/Makefile index 5bfd58a8..82c77b83 100644 --- a/extras/multipath-tools/multipathd/Makefile +++ b/extras/multipath-tools/multipathd/Makefile @@ -29,3 +29,4 @@ uninstall: clean: rm -f core *.o $(EXEC) *.gz +spotless: clean diff --git a/extras/scsi_id/Makefile b/extras/scsi_id/Makefile index bfc2923b..6af4d7f1 100644 --- a/extras/scsi_id/Makefile +++ b/extras/scsi_id/Makefile @@ -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) diff --git a/tdb/Makefile b/tdb/Makefile index 021cb35c..87fb680b 100644 --- a/tdb/Makefile +++ b/tdb/Makefile @@ -28,3 +28,5 @@ tdbbackup: tdbbackup.o $(TDB_OBJ) clean: rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm + +spotless: clean -- 2.39.5