mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefiles: cleanup update
Cleanup also test dir. Distclean unit tests.
This commit is contained in:
parent
eb2c68590b
commit
9b2be901ed
@ -38,6 +38,9 @@ endif
|
||||
|
||||
SUBDIRS += scripts
|
||||
|
||||
ifeq ($(MAKECMDGOALS),clean)
|
||||
SUBDIRS += test
|
||||
endif
|
||||
# FIXME Should use intermediate Makefiles here!
|
||||
ifeq ($(MAKECMDGOALS),distclean)
|
||||
SUBDIRS = doc include man test scripts \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved.
|
||||
# Copyright (C) 2011-2013 Red Hat, Inc. All rights reserved.
|
||||
#
|
||||
# This file is part of LVM2.
|
||||
#
|
||||
@ -15,8 +15,14 @@ top_srcdir = @top_srcdir@
|
||||
top_builddir = @top_builddir@
|
||||
|
||||
VPATH = $(srcdir)
|
||||
ifeq ("@TESTING@", "yes")
|
||||
SOURCES = bitset_t.c matcher_t.c config_t.c string_t.c run.c
|
||||
UNITS = bitset_t.c matcher_t.c config_t.c string_t.c run.c
|
||||
|
||||
ifeq ($(MAKECMDGOALS),distclean)
|
||||
SOURCES = $(UNITS)
|
||||
endif
|
||||
|
||||
ifeq ("$(TESTING)", "yes")
|
||||
SOURCES = $(UNITS)
|
||||
TARGETS = run
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user