Author: mvidner Date: Tue Jun 9 16:29:07 2009 New Revision: 57520 URL: http://svn.opensuse.org/viewcvs/yast?rev=57520&view=rev Log: Take advantage of AM_SILENT_RULES and AUTOMAKE_JOBS if supported (in automake-1.11) Modified: trunk/devtools/devtools/bin/create-spec trunk/devtools/devtools/bin/y2autoconf trunk/devtools/package/yast2-devtools.changes trunk/devtools/prefixbuild/recreate Modified: trunk/devtools/devtools/bin/create-spec URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/bin/create-spec?rev=57520&r1=57519&r2=57520&view=diff ============================================================================== --- trunk/devtools/devtools/bin/create-spec (original) +++ trunk/devtools/devtools/bin/create-spec Tue Jun 9 16:29:07 2009 @@ -125,7 +125,9 @@ \%{?suse_update_config:\%{suse_update_config -f}} ./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} -make %{?jobs:-j%jobs}", +# V=1: verbose build in case we used AM_SILENT_RULES(yes) +# so that RPM_OPT_FLAGS check works +make %{?jobs:-j%jobs} V=1", "\@BUILD-QT\@" => "\%build @@ -138,7 +140,9 @@ \%{?suse_update_config:\%{suse_update_config -f}} ./configure --libdir=%{_libdir} --prefix=%{prefix} --with-qt-dir=/usr/lib/qt3 --with-qt-libdir=/usr/lib/qt3/%{_lib} --mandir=%{_mandir} -make %{?jobs:-j%jobs}", +# V=1: verbose build in case we used AM_SILENT_RULES(yes) +# so that RPM_OPT_FLAGS check works +make %{?jobs:-j%jobs} V=1", "\@BUILD-PO\@" => "\%build Modified: trunk/devtools/devtools/bin/y2autoconf URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/bin/y2autoconf?rev=57520&r1=57519&r2=57520&view=diff ============================================================================== --- trunk/devtools/devtools/bin/y2autoconf (original) +++ trunk/devtools/devtools/bin/y2autoconf Tue Jun 9 16:29:07 2009 @@ -180,7 +180,9 @@ # init: prog '@YAST2-INIT-PROGRAM@' => -'', +'dnl Automake 1.11 enables silent compilation, +dnl Disable it by "configure --disable-silent-rules" or "make V=1" +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])', # init: translation '@YAST2-INIT-PO@' => Modified: trunk/devtools/package/yast2-devtools.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/package/yast2-devtools.changes?rev=57520&r1=57519&r2=57520&view=diff ============================================================================== --- trunk/devtools/package/yast2-devtools.changes (original) +++ trunk/devtools/package/yast2-devtools.changes Tue Jun 9 16:29:07 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jun 9 16:28:38 CEST 2009 - mvidner@suse.cz + +- Take advantage of AM_SILENT_RULES and AUTOMAKE_JOBS if supported + (in automake-1.11) + +------------------------------------------------------------------- Mon Jun 8 13:58:32 CEST 2009 - lslezak@suse.cz - 2.18.6 Modified: trunk/devtools/prefixbuild/recreate URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/prefixbuild/recreate?rev=57520&r1=57519&r2=57520&view=diff ============================================================================== --- trunk/devtools/prefixbuild/recreate (original) +++ trunk/devtools/prefixbuild/recreate Tue Jun 9 16:29:07 2009 @@ -80,6 +80,7 @@ local MODULE="$1"; shift if $AUTORECONF || ! test -x ./configure; then + export AUTOMAKE_JOBS=$(grep '^processor' /proc/cpuinfo | wc -l) if $YAST; then if [ "$MODULE" = devtools ]; then local DTPATH="./devtools/bin" -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org