Skip to contentSkip to conversation

LVM2/test/unit Makefile.in

PATCH [email protected] 1 participant 1 message Jan 27, 2012

lore
Share & tools
lore
#0 lore raw

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

test/unit/Makefile.in +3 -1
@@ -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@