From: Timothy Shimmin <tes@sgi.com>
To: xfs-dev <xfs-dev@sgi.com>, xfs-oss <xfs@oss.sgi.com>
Subject: review: xfstests/Makefile for dmapi
Date: Wed, 30 Apr 2008 16:31:35 +1000 [thread overview]
Message-ID: <48181247.8010705@sgi.com> (raw)
Hi,
In some tests I found that Automake 1.9.1 output a "default" target
whereas Automake 1.9.6 did not produce a "default" target - in each
case they used the "all" target.
So change the default Make to build dmapi with the "all" target
instead of using SUBDIRS_MAKERULE on default for it.
The SUBDIRS_MAKERULE in xfstests only seems to be used for the
default target.
--Tim
diff --git a/xfstests/Makefile b/xfstests/Makefile
index 99509ff..0a0fc27 100644
--- a/xfstests/Makefile
+++ b/xfstests/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved.
+# Copyright (c) 2000-2008 Silicon Graphics, Inc. All Rights Reserved.
#
TOPDIR = .
@@ -16,13 +16,16 @@ LSRCFILES = configure configure.in aclocal.m4 README VERSION
LDIRT = config.log .dep config.status config.cache confdefs.h conftest* \
check.log check.time
-SUBDIRS = include lib ltp src m4 dmapi
+SUBDIRS = include lib ltp src m4
default: $(CONFIGURE) $(DMAPI_MAKEFILE) new remake check $(TESTS)
ifeq ($(HAVE_BUILDDEFS), no)
$(MAKE) $@
else
$(SUBDIRS_MAKERULE)
+ # automake doesn't always support "default" target
+ # so do dmapi make explicitly with "all"
+ cd $(TOPDIR)/dmapi; make all
endif
ifeq ($(HAVE_BUILDDEFS), yes)
reply other threads:[~2008-04-30 6:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48181247.8010705@sgi.com \
--to=tes@sgi.com \
--cc=xfs-dev@sgi.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.