summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-01-21 17:18:38 +0000
committerjbj <devnull@localhost>1999-01-21 17:18:38 +0000
commit394f3cb1ddf52fa7829dab790e34f1dfa5886b5d (patch)
tree430b8c31fcb605b19572bf1c34e2dfcde93195c6 /tests
parent459dc6ef3eb334df673c514b67c1e343942b9a1c (diff)
downloadrpm-394f3cb1ddf52fa7829dab790e34f1dfa5886b5d.tar.gz
rpm-394f3cb1ddf52fa7829dab790e34f1dfa5886b5d.tar.bz2
rpm-394f3cb1ddf52fa7829dab790e34f1dfa5886b5d.zip
Eliminate Makefile.inc dependence in subdirs.
Change "Bad header" to "Bad/unreadable header" for most common cpio failure. CVS patchset: 2728 CVS date: 1999/01/21 17:18:38
Diffstat (limited to 'tests')
-rw-r--r--tests/macros.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/macros.in b/tests/macros.in
index 3fd8e21ce..dfcdd4995 100644
--- a/tests/macros.in
+++ b/tests/macros.in
@@ -104,15 +104,17 @@
# (Note: Above is the goal, below are the macros under development)
#
# The configure macro does the following:
-#
# optionally change to a subdirectory.
# attempt to update onfig.guess and config.sub.
# run configure with correct prefix, platform, and CFLAGS.
# optionally restore current directory.
+# The configure macro should be invoked as %configure (rather than %{configure})
+# because the rest of the arguments will be expanded using %*. Another
+# gotcha is that arguments, if present, should be on the same line as the
+# %configure.
#
%configure(C:) \
- %{C:%{-C:pushd %{-C*}}} \
+ %{-C:pushd %{-C*}} \
%{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} \
CFLAGS="%{optflags}" ./configure %{_build} --prefix=%{_prefix} \
- %{C:%{-C:popd }}
-
+ %{-C:popd}