Skip to contentSkip to conversation

make spotless

PATCH New Olaf Hering 1 participant 1 message Mar 12, 2004 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make spotless

klibc has a target make spotless, this patch makes it possible to clean the whole udev tree and start from scratch.

Makefile renamed from olaf/sources/tree/udev.bk/Makefile +2 -0
diff -p -purN /olaf/sources/tree/udev.bk/Makefile udev.bk/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 = .
extras/multipath-tools/Makefile renamed from olaf/sources/tree/udev.bk/extras/multipath-tools/Makefile +2 -0
diff -p -purN /olaf/sources/tree/udev.bk/extras/multipath-tools/Makefile udev.bk/extras/multipath-tools/Makefile
@@ -32,6 +32,8 @@ clean:	recurse_clean
 	@echo ""
 	@echo "Make complete"
 
+spotless: clean
+
 install:	recurse_install
 	@echo ""
 	@echo "Make complete"
extras/multipath-tools/devmap_name/Makefile renamed from olaf/sources/tree/udev.bk/extras/multipath-tools/devmap_name/Makefile +2 -0
diff -p -purN /olaf/sources/tree/udev.bk/extras/multipath-tools/devmap_name/Makefile udev.bk/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)/
extras/multipath-tools/libdevmapper/Makefile renamed from olaf/sources/tree/udev.bk/extras/multipath-tools/libdevmapper/Makefile +2 -0
diff -p -purN /olaf/sources/tree/udev.bk/extras/multipath-tools/libdevmapper/Makefile udev.bk/extras/multipath-tools/libdevmapper/Makefile
@@ -23,6 +23,8 @@ all:	$(OBJS)
 clean:
 	rm -f core *.o ioctl/*.o ioctl/*.so
 
+spotless: clean
+
 install:
 
 uninstall:
extras/multipath-tools/multipath/Makefile renamed from olaf/sources/tree/udev.bk/extras/multipath-tools/multipath/Makefile +2 -0
diff -p -purN /olaf/sources/tree/udev.bk/extras/multipath-tools/multipath/Makefile udev.bk/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)/
extras/multipath-tools/multipathd/Makefile renamed from olaf/sources/tree/udev.bk/extras/multipath-tools/multipathd/Makefile +1 -0
diff -p -purN /olaf/sources/tree/udev.bk/extras/multipath-tools/multipathd/Makefile udev.bk/extras/multipath-tools/multipathd/Makefile
@@ -29,3 +29,4 @@ uninstall:
 clean:
 	rm -f core *.o $(EXEC) *.gz
 
+spotless: clean
extras/scsi_id/Makefile renamed from olaf/sources/tree/udev.bk/extras/scsi_id/Makefile +1 -0
diff -p -purN /olaf/sources/tree/udev.bk/extras/scsi_id/Makefile udev.bk/extras/scsi_id/Makefile
@@ -70,5 +70,6 @@ $(OBJS): scsi_id.h scsi.h scsi_id_versio
 clean:
 	rm -f $(PROG) $(OBJS) $(GEN_HEADER)
 
+spotless: clean
 $(PROG):	$(OBJS)
 	$(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
tdb/Makefile renamed from olaf/sources/tree/udev.bk/tdb/Makefile +2 -0
diff -p -purN /olaf/sources/tree/udev.bk/tdb/Makefile udev.bk/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
Signature · 14 lines
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op�k
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel