Skip to contentSkip to conversation

gfs2 fsck needs more cleaning

PATCH New Fabio M. Di Nitto 2 participants 2 messages Jun 28, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 4/8 gfs2 fsck needs more cleaning

gfs2/fsck leaves *.d files around. Remove them on clean instead of distclean.

gfs2/fsck/Makefile +2 -2
diff -urNad redhat-cluster-suite-2.20060621~/gfs2/fsck/Makefile redhat-cluster-suite-2.20060621/gfs2/fsck/Makefile
@@ -40,13 +40,13 @@
 test_bitmap: test_bitmap.o log.o
 	$(CC) $(CFLAGS) $^ -o $@
 clean:
-	@rm -f gfs2_fsck *.o *~
+	@rm -f gfs2_fsck *.o *~ *.d
 
 copytobin: gfs2_fsck
 	cp gfs2_fsck ${top_srcdir}/bin
 
 distclean: clean
-	@rm -f *.d cscope.* gfs2_fsck test_inode_list *.orig *.rej test_block_list test_bitmap
+	@rm -f cscope.* gfs2_fsck test_inode_list *.orig *.rej test_block_list test_bitmap
 
 
 gfs2_fsck.pot: $(sources)
#1 lore raw

PATCH 4/8 gfs2 fsck needs more cleaning

Quoted 11 lines · Fabio M. Di Nitto

gfs2/fsck leaves *.d files around. Remove them on clean instead of distclean.

diff -urNad redhat-cluster-suite-2.20060621~/gfs2/fsck/Makefile redhat-cluster-suite-2.20060621/gfs2/fsck/Makefile

gfs2/fsck/Makefile +1 -1
@@ -40,13 +40,13 @@
 test_bitmap: test_bitmap.o log.o
 	$(CC) $(CFLAGS) $^ -o $@
 clean:
-	@rm -f gfs2_fsck *.o *~
+	@rm -f gfs2_fsck *.o *~ *.d

gfs2/fsck/Makefile line 52

Quoted 10 lines
gfs2/fsck/Makefile +1 -1
 
 copytobin: gfs2_fsck
 	cp gfs2_fsck ${top_srcdir}/bin
 
 distclean: clean
-	@rm -f *.d cscope.* gfs2_fsck test_inode_list *.orig *.rej test_block_list test_bitmap
+	@rm -f cscope.* gfs2_fsck test_inode_list *.orig *.rej test_block_list test_bitmap
 
 
 gfs2_fsck.pot: $(sources)

Hi Fabio,

ACK. Thanks for your input; I've committed this one to CVS.

Regards,

Bob Peterson
Red Hat Cluster Suite