[lvm-devel] LVM2/test/unit Makefile.in

zkabelac at sourceware.org zkabelac at sourceware.org
Fri Jan 27 10:55:03 UTC 2012


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac at sourceware.org	2012-01-27 10:55:02

Modified files:
	test/unit      : Makefile.in 

Log message:
	TARGETS macro has to be defined before inclusion of make.tmpl
	
	Use @TESTING@ check in this case.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/unit/Makefile.in.diff?cvsroot=lvm2&r1=1.6&r2=1.7

--- LVM2/test/unit/Makefile.in	2012/01/26 21:40:36	1.6
+++ LVM2/test/unit/Makefile.in	2012/01/27 10:55:02	1.7
@@ -16,10 +16,12 @@
 
 VPATH = $(srcdir)
 SOURCES = bitset_t.c matcher_t.c config_t.c run.c
+ifeq ("@TESTING@", "yes")
+TARGETS = run
+endif
 
 include $(top_builddir)/make.tmpl
 ifeq ("$(TESTING)", "yes")
-TARGETS = run
 LDLIBS += -ldevmapper @CUNIT_LIBS@
 CFLAGS += @CUNIT_CFLAGS@
 




More information about the lvm-devel mailing list