This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
* Ralf Wildenhues wrote on Thu, Apr 01, 2010 at 08:13:35PM CEST: > 1) remove all automake-generated dist rules from the build tree, GCC > doesn't use them anyway, Alternative patch here. Downside: sync to classpath is a problem, if it uses 'make dist' to create a distribution. For branches, I could release Automake 1.9.7 and upgrade 4.3 and 4.4 to that; or use this no-dist approach there. I would prefer the former. Full patch attached again. (Setting no-dist in AM_INIT_AUTOMAKE is equivalent to setting it in each Makefile.am; but the only Makefile.in files containing the problematic rule are those in directories where there is also a configure.ac.) Bootstrap is running. Thanks, Ralf ChangeLog: 2010-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * lto-plugin/Makefile.am (AUTOMAKE_OPTIONS): Add no-dist. * lto-plugin/Makefile.in: Regenerate. libffi/ChangeLog: 2010-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * Makefile.am (AUTOMAKE_OPTIONS): Add no-dist. * Makefile.in: Regenerate. libgfortran/ChangeLog: 2010-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. * configure: Regenerate. * Makefile.in: Regenerate. libgomp/ChangeLog: 2010-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. * configure: Regenerate. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. libjava/classpath/ChangeLog: 2010-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * doc/api/Makefile.in: Regenerate. * examples/Makefile.in: Regenerate. * external/Makefile.in: Regenerate. * external/jsr166/Makefile.in: Regenerate. * external/relaxngDatatype/Makefile.in: Regenerate. * external/sax/Makefile.in: Regenerate. * external/w3c_dom/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * lib/Makefile.in: Regenerate. * native/Makefile.in: Regenerate. * native/fdlibm/Makefile.in: Regenerate. * native/jawt/Makefile.in: Regenerate. * native/jni/Makefile.in: Regenerate. * native/jni/classpath/Makefile.in: Regenerate. * native/jni/gconf-peer/Makefile.in: Regenerate. * native/jni/gstreamer-peer/Makefile.in: Regenerate. * native/jni/gtk-peer/Makefile.in: Regenerate. * native/jni/java-io/Makefile.in: Regenerate. * native/jni/java-lang/Makefile.in: Regenerate. * native/jni/java-math/Makefile.in: Regenerate. * native/jni/java-net/Makefile.in: Regenerate. * native/jni/java-nio/Makefile.in: Regenerate. * native/jni/java-util/Makefile.in: Regenerate. * native/jni/midi-alsa/Makefile.in: Regenerate. * native/jni/midi-dssi/Makefile.in: Regenerate. * native/jni/native-lib/Makefile.in: Regenerate. * native/jni/qt-peer/Makefile.in: Regenerate. * native/jni/xmlj/Makefile.in: Regenerate. * native/plugin/Makefile.in: Regenerate. * resource/Makefile.in: Regenerate. * scripts/Makefile.in: Regenerate. * tools/Makefile.in: Regenerate. libjava/ChangeLog: 2010-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. * Makefile.in: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. libjava/libltdl/ChangeLog: 2010-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * Makefile.am (AUTOMAKE_OPTIONS): Add no-dist. * Makefile.in: Regenerate. libmudflap/ChangeLog: 2010-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * Makefile.am (AUTOMAKE_OPTIONS): Add no-dist. * Makefile.in: Regenerate. libssp/ChangeLog: 2010-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * Makefile.am (AUTOMAKE_OPTIONS): Add no-dist. * Makefile.in: Regenerate. libstdc++-v3/ChangeLog: 2010-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * po/Makefile.in: Regenerate. * python/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. diff --git a/libffi/Makefile.am b/libffi/Makefile.am index 6e414de..2e49d02 100644 --- a/libffi/Makefile.am +++ b/libffi/Makefile.am @@ -1,6 +1,6 @@ ## Process this with automake to create Makefile.in -AUTOMAKE_OPTIONS = foreign subdir-objects +AUTOMAKE_OPTIONS = foreign subdir-objects no-dist ACLOCAL_AMFLAGS = -I .. -I ../config SUBDIRS = include testsuite man diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 104f2c1..e7e34a6 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -60,9 +60,10 @@ target_alias=${target_alias-$host_alias} # we can do about that; they come from AC_INIT). # foreign: we don't follow the normal rules for GNU packages (no COPYING # file in the top srcdir, etc, etc), so stop complaining. +# no-dist: we don't want 'dist' and related rules. # -Wall: turns on all automake warnings... # -Wno-portability: ...except this one, since GNU make is required. -AM_INIT_AUTOMAKE([1.9.6 no-define foreign -Wall -Wno-portability]) +AM_INIT_AUTOMAKE([1.9.6 no-define foreign no-dist -Wall -Wno-portability]) AM_MAINTAINER_MODE AM_ENABLE_MULTILIB(, ..) diff --git a/libgomp/configure.ac b/libgomp/configure.ac index fefffe9..85945c7 100644 --- a/libgomp/configure.ac +++ b/libgomp/configure.ac @@ -58,10 +58,11 @@ target_alias=${target_alias-$host_alias} # we can do about that; they come from AC_INIT). # foreign: we don't follow the normal rules for GNU packages (no COPYING # file in the top srcdir, etc, etc), so stop complaining. +# no-dist: we don't want 'dist' and related rules. # -Wall: turns on all automake warnings... # -Wno-portability: ...except this one, since GNU make is required. # -Wno-override: ... and this one, since we do want this in testsuite. -AM_INIT_AUTOMAKE([1.9.0 foreign -Wall -Wno-portability -Wno-override]) +AM_INIT_AUTOMAKE([1.9.0 foreign no-dist -Wall -Wno-portability -Wno-override]) AM_ENABLE_MULTILIB(, ..) # Calculate toolexeclibdir diff --git a/libjava/classpath/configure.ac b/libjava/classpath/configure.ac index 98a17f8..220cfd6 100644 --- a/libjava/classpath/configure.ac +++ b/libjava/classpath/configure.ac @@ -74,7 +74,7 @@ CLASSPATH_CONVENIENCE="-no-undefined" AC_SUBST(CLASSPATH_CONVENIENCE) AC_PREREQ(2.64) -AM_INIT_AUTOMAKE([1.9.0 gnu std-options tar-ustar -Wno-portability]) +AM_INIT_AUTOMAKE([1.9.0 gnu std-options tar-ustar no-dist -Wno-portability]) AC_CONFIG_HEADERS([include/config.h]) AC_PREFIX_DEFAULT(/usr/local/classpath) diff --git a/libjava/configure.ac b/libjava/configure.ac index 255fb64..d491a2e 100644 --- a/libjava/configure.ac +++ b/libjava/configure.ac @@ -151,7 +151,7 @@ AC_PROG_CC AC_PROG_CXX CXXFLAGS="$save_CXXFLAGS" -AM_INIT_AUTOMAKE([1.9.0]) +AM_INIT_AUTOMAKE([no-dist 1.9.0]) AC_CHECK_TOOL(AS, as) AC_CHECK_TOOL(LD, ld) diff --git a/libjava/libltdl/Makefile.am b/libjava/libltdl/Makefile.am index 737290e..0c2e263 100644 --- a/libjava/libltdl/Makefile.am +++ b/libjava/libltdl/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in -AUTOMAKE_OPTIONS = no-dependencies foreign +AUTOMAKE_OPTIONS = no-dependencies foreign no-dist ACLOCAL_AMFLAGS = -I ../.. -I ../../config diff --git a/libmudflap/Makefile.am b/libmudflap/Makefile.am index 29091de..98ec407 100644 --- a/libmudflap/Makefile.am +++ b/libmudflap/Makefile.am @@ -4,7 +4,7 @@ ## Free Software Foundation, Inc. ## -AUTOMAKE_OPTIONS = 1.8 foreign +AUTOMAKE_OPTIONS = 1.8 foreign no-dist ACLOCAL_AMFLAGS = -I .. -I ../config MAINT_CHARSET = latin1 SUBDIRS = testsuite diff --git a/libssp/Makefile.am b/libssp/Makefile.am index 7b6e946..30c954e 100644 --- a/libssp/Makefile.am +++ b/libssp/Makefile.am @@ -4,7 +4,7 @@ ## Free Software Foundation, Inc. ## -AUTOMAKE_OPTIONS = 1.9.5 foreign +AUTOMAKE_OPTIONS = 1.9.5 foreign no-dist ACLOCAL_AMFLAGS = -I .. -I ../config MAINT_CHARSET = latin1 diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index 9fe9c33..7d7f7a9 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -72,9 +72,10 @@ fi # foreign: we don't follow the normal rules for GNU packages (no COPYING # file in the top srcdir, etc, etc), so stop complaining. # no-dependencies: turns off auto dependency generation (just for now) +# no-dist: we don't want 'dist' and related rules. # -Wall: turns on all automake warnings... # -Wno-portability: ...except this one, since GNU make is now required. -AM_INIT_AUTOMAKE([1.9.3 no-define foreign no-dependencies -Wall -Wno-portability -Wno-override]) +AM_INIT_AUTOMAKE([1.9.3 no-define foreign no-dependencies no-dist -Wall -Wno-portability -Wno-override]) AH_TEMPLATE(PACKAGE, [Name of package]) AH_TEMPLATE(VERSION, [Version number of package]) diff --git a/lto-plugin/Makefile.am b/lto-plugin/Makefile.am index 665ce19..3b06e12 100644 --- a/lto-plugin/Makefile.am +++ b/lto-plugin/Makefile.am @@ -1,7 +1,7 @@ # Makefile.am is used by automake 1.11 to generate Makefile.in. ACLOCAL_AMFLAGS = -I .. -I ../config -AUTOMAKE_OPTIONS = no-dependencies +AUTOMAKE_OPTIONS = no-dependencies no-dist gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) target_noncanonical := @target_noncanonical@
Attachment:
automake-no-dist.diff.gz
Description: application/gunzip
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |