[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] [PATCH LVM2] fix tools/Makefile to clean lvmcmdlib.o/lvm-static.o



Files specific to some build targets are declared as
part of CLEAN_TARGETS in tools/Makefile.
2 files (lvmcmdlib.o and lvm-static.o) are missing from it.

As a result, they are not removed after make clean or make distclean
and you'll see strange error if you moved build tree from
one environment to another and do make clean and make.

With this patch, I saw no *.o/*.a/*.so files in the build tree
after make clean.

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America
diff -urp -X dontdiff LVM2.orig/tools/Makefile.in LVM2/tools/Makefile.in
--- LVM2.orig/tools/Makefile.in	2006-08-23 04:18:58.000000000 -0400
+++ LVM2/tools/Makefile.in	2006-10-27 01:33:54.000000000 -0400
@@ -82,7 +82,8 @@ LVMLIBS = -llvm
 
 CLEAN_TARGETS = liblvm2cmd.so liblvm2cmd.a liblvm2cmd-static.a lvm lvm.o \
 		lvm2cmd.o lvm2cmd-static.o lvm2cmdlib.o lvm.static \
-		lvm.cflow lvm.xref lvm.tree lvm.rxref lvm.rtree
+		lvm.cflow lvm.xref lvm.tree lvm.rxref lvm.rtree \
+		lvmcmdlib.o lvm-static.o
 
 ifeq ("@CMDLIB@", "yes")
 	TARGETS += liblvm2cmd.so

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]