Use %{__make} macro instead of "make"
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 22 Jan 2010 12:51:43 +0000 (14:51 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 22 Jan 2010 12:52:14 +0000 (14:52 +0200)
- allows easy overriding of the used make version for %make_install and
  %makeinstall

macros.in

index dd33480..870a309 100644 (file)
--- a/macros.in
+++ b/macros.in
@@ -1037,13 +1037,13 @@ print (t)\
 
 #------------------------------------------------------------------------------
 # The make install analogue of %configure for modern autotools:
-%make_install make install DESTDIR=%{?buildroot}
+%make_install %{__make} install DESTDIR=%{?buildroot}
 
 #------------------------------------------------------------------------------
 # Former make install analogue, kept for compatibility and for old/broken
 #  packages that don't support DESTDIR properly.
 %makeinstall \
-  make \\\
+  %{__make} \\\
        prefix=%{?buildroot:%{buildroot}}%{_prefix} \\\
        exec_prefix=%{?buildroot:%{buildroot}}%{_exec_prefix} \\\
        bindir=%{?buildroot:%{buildroot}}%{_bindir} \\\