Skip to contentSkip to conversation

LVM2 ./WHATS_NEW_DM ./make.tmpl.in tools/Makef ...

PATCH [email protected] 1 participant 1 message Sep 11, 2009

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha at sourceware.org 2009-09-11 15:52:23

Modified files:
. : WHATS_NEW_DM make.tmpl.in
tools : Makefile.in

Log message:
Fix Makefile to take into account dmsetup's reconfiguration.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW_DM.diff?cvsroot=lvm2&r1=1.295&r2=1.296
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/make.tmpl.in.diff?cvsroot=lvm2&r1=1.70&r2=1.71
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/Makefile.in.diff?cvsroot=lvm2&r1=1.98&r2=1.99

WHATS_NEW_DM +1 -0
@@ -1,5 +1,6 @@
 Version 1.02.37 -
 =================================
+  Fix Makefile to take into account dmsetup's reconfiguration.
   Restore umask when device node creation fails.
   Fix mirror table CTR code to handle 'block_on_error' and 'cluster' features
 
make.tmpl.in +5 -2
@@ -239,14 +239,14 @@
 
 clean: $(SUBDIRS.clean)
 	$(RM) $(OBJECTS) $(TARGETS) $(CLEAN_TARGETS) $(SOURCES:%.c=%.d) \
-	      $(SOURCES:%.c=%.pot) $(SOURCES:%.c=%.gcno) \
+	      $(SOURCES2:%.c=%.d) $(SOURCES:%.c=%.pot) $(SOURCES:%.c=%.gcno) \
 	      $(SOURCES:%.c=%.gcda) $(LDDEPS)
 
 distclean: $(SUBDIRS.distclean)
 	$(RM) -rf $(DISTCLEAN_DIRS)
 	$(RM) $(DISTCLEAN_TARGETS) \
 	      $(OBJECTS) $(TARGETS) $(CLEAN_TARGETS) $(SOURCES:%.c=%.d) \
-	      $(SOURCES:%.c=%.pot) $(SOURCES:%.c=%.gcno) \
+	      $(SOURCES2:%.c=%.d) $(SOURCES:%.c=%.pot) $(SOURCES:%.c=%.gcno) \
 	      $(SOURCES:%.c=%.gcda) $(LDDEPS) \
 	      config.cache config.log config.status \
 	      Makefile make.tmpl core \
@@ -262,6 +262,9 @@
     ifdef SOURCES
        -include $(SOURCES:.c=.d)
     endif
+    ifdef SOURCES2
+       -include $(SOURCES2:.c=.d)
+    endif
   endif
 endif
 
tools/Makefile.in +3 -0
@@ -62,6 +62,9 @@
 	vgscan.c \
 	vgsplit.c
 
+SOURCES2 =\
+	dmsetup.c
+
 TARGETS =\
 	.commands \
 	lvm