diff options
author | jbj <devnull@localhost> | 1999-01-21 17:18:38 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-01-21 17:18:38 +0000 |
commit | 394f3cb1ddf52fa7829dab790e34f1dfa5886b5d (patch) | |
tree | 430b8c31fcb605b19572bf1c34e2dfcde93195c6 /macros.in | |
parent | 459dc6ef3eb334df673c514b67c1e343942b9a1c (diff) | |
download | librpm-tizen-394f3cb1ddf52fa7829dab790e34f1dfa5886b5d.tar.gz librpm-tizen-394f3cb1ddf52fa7829dab790e34f1dfa5886b5d.tar.bz2 librpm-tizen-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 'macros.in')
-rw-r--r-- | macros.in | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 }} - + CFLAGS="%{optflags}" ./configure %{_target} --prefix=%{_prefix} \ + %{-C:popd} |