summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolh@suse.de <olh@suse.de>2004-03-12 23:52:21 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:10 -0700
commit2761f9b951057c3ed0aaac73f5e003b0d23805f9 (patch)
tree1966ae1b9c5097dc10f32efa300fb0c3962b044c
parentb1224bc0da0328c44ed8816bb0cf28e7343bab86 (diff)
[PATCH] make spotless
klibc has a target make spotless, this patch makes it possible to clean the whole udev tree and start from scratch.
-rw-r--r--Makefile2
-rw-r--r--extras/multipath-tools/Makefile2
-rw-r--r--extras/multipath-tools/devmap_name/Makefile2
-rw-r--r--extras/multipath-tools/libdevmapper/Makefile2
-rw-r--r--extras/multipath-tools/multipath/Makefile2
-rw-r--r--extras/multipath-tools/multipathd/Makefile1
-rw-r--r--extras/scsi_id/Makefile1
-rw-r--r--tdb/Makefile2
8 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 23aef06666..2c9472a0bb 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 2f21f0d112..fa8830082b 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 a9683341b2..e3b70a5e0d 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 445263caa8..4a8b7723fa 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 4121f4fc3b..4c0fae6d32 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 5bfd58a837..82c77b8351 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 bfc2923b34..6af4d7f18e 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 021cb35c95..87fb680bdd 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