fix build of snapshot dmeventd module
PATCH 1/1 fix build of snapshot dmeventd module
Fix build of snapshot dmeventd module
When you type "make", the module is not compiled. It is compiled on "make install" command.
The reason is that "make" without arguments takes the first target, that is "mirror", it depends on "lvm2", thus it builds only "lvm2" and "mirror" subdirectories, but not "snapshot".
The patch changes Makefile so that make.tmpl is included before individual targets, make.tmpl contains "all" as its first target, so simple "make" command will build all the subdirectories.
--- daemons/dmeventd/plugins/Makefile.in | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-)
daemons/dmeventd/plugins/Makefile.in +2 -3
@@ -19,8 +19,7 @@ VPATH = @srcdir@ SUBDIRS += lvm2 mirror snapshot -mirror: lvm2 -snapshot: lvm2 - include ../../../make.tmpl +mirror: lvm2 +snapshot: lvm2
PATCH 1/1 fix build of snapshot dmeventd module
Quoted 1 line · Mikulas Patocka
Fix build of snapshot dmeventd module
Is something this still broken here that the 2nd Feb checkin didn't fix?
Alasdair
PATCH 1/1 fix build of snapshot dmeventd module
Quoted 6 lines · Alasdair G Kergon
Quoted 1 line · Mikulas Patocka
Fix build of snapshot dmeventd module
Is something this still broken here that the 2nd Feb checkin didn't fix?
Alasdair
I have tried current CVS version now and it is OK.
Mikulas