]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Enable Automake's dependency tracking.
authorBruno Haible <bruno@clisp.org>
Thu, 1 Aug 2024 15:27:36 +0000 (17:27 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 1 Aug 2024 20:31:22 +0000 (22:31 +0200)
Quite often, after changing a struct defined in a .h file, I see "make check"
fail. After "make clean; make", "make check" passes again. This wastes my time.
Unlike 20 years ago, I don't want think about which .o files I need to erase
and rebuild. Build times are now much smaller than they were 20 years ago,
especially when configuring with --disable-shared and CFLAGS="-ggdb".

* gnulib-local/modules/gettext-runtime-misc (configure.ac): Don't augment
AUTOMAKE_OPTIONS.
* gettext-runtime/Makefile.am (AUTOMAKE_OPTIONS): Remove 'no-dependencies'.
* gettext-runtime/intl/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* gettext-runtime/libasprintf/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* gettext-runtime/src/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* gettext-runtime/tests/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* libtextstyle/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* libtextstyle/lib/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* gettext-tools/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* gettext-tools/gnulib-lib/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* gettext-tools/libgettextpo/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* gettext-tools/libgrep/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* gettext-tools/src/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* gettext-tools/system-tests/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* gettext-tools/tests/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* gettext-tools/tests/gnulib-lib/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* Makefile.am (AUTOMAKE_OPTIONS): Likewise.

17 files changed:
Makefile.am
gettext-runtime/Makefile.am
gettext-runtime/intl/Makefile.am
gettext-runtime/libasprintf/Makefile.am
gettext-runtime/src/Makefile.am
gettext-runtime/tests/Makefile.am
gettext-tools/Makefile.am
gettext-tools/gnulib-lib/Makefile.am
gettext-tools/libgettextpo/Makefile.am
gettext-tools/libgrep/Makefile.am
gettext-tools/src/Makefile.am
gettext-tools/system-tests/Makefile.am
gettext-tools/tests/Makefile.am
gettext-tools/tests/gnulib-lib/Makefile.am
gnulib-local/modules/gettext-runtime-misc
libtextstyle/Makefile.am
libtextstyle/lib/Makefile.am

index 5eacee01bf7845e92d33ae1f8b0acf19eab50a4b..ceddff526f23573ce2ed4dfd8b2cf39913d2d833 100644 (file)
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
+AUTOMAKE_OPTIONS = 1.5 gnu
 ACLOCAL_AMFLAGS = -I m4
 
 SUBDIRS = gnulib-local gettext-runtime libtextstyle gettext-tools
index 958e2e57ce1c22a5cc237e740f6cbfdfe526c033..24925e95c191ab0f2bd4cebd0076e34304a95901 100644 (file)
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
+AUTOMAKE_OPTIONS = 1.5 gnu
 ACLOCAL_AMFLAGS = -I m4 -I ../m4 -I gnulib-m4
 
 # The list of subdirectories depends on whether --disable-libasprintf was
index e7a8ec1b768230b8b88d34922ad078e33abeb365..561d51f73fe7edb323d94c22ae030f4762b2b865 100644 (file)
@@ -1,6 +1,6 @@
 ## Makefile for the gettext-runtime/intl and gettext-tools/intl subdirectories
 ## of GNU gettext.
-## Copyright (C) 1995-1998, 2000-2007, 2009-2024 Free Software Foundation, Inc.
+## Copyright (C) 1995-2024 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU Lesser General Public License as published by
@@ -17,7 +17,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.10 gnu no-dependencies
+AUTOMAKE_OPTIONS = 1.10 gnu
 ACLOCAL_AMFLAGS = -I ../../m4 -I ../m4 -I gnulib-m4
 
 SUBDIRS = gnulib-lib
index fa4e4e6b88c63c11c800fb29246f19025e874b20..197a51a6746c68dd76de9371340887e2f08b7210 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile for the gettext-runtime/libasprintf subdirectory of GNU gettext
-## Copyright (C) 2002-2007, 2009-2011, 2013, 2016, 2018-2019, 2021, 2023 Free Software Foundation, Inc.
+## Copyright (C) 2002-2024 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU Lesser General Public License as published by
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
+AUTOMAKE_OPTIONS = 1.5 gnu
 ACLOCAL_AMFLAGS = -I ../../m4 -I ../m4 -I gnulib-m4
 
 SUBDIRS = gnulib-lib
index f696fe94af87870c7a432e17ecf536ce9cf5e0ac..ed3c38c860c1b6e3795892d2483a90a66bf16a23 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile for the gettext-runtime/src subdirectory of GNU gettext
-## Copyright (C) 1995-1998, 2000-2007, 2009, 2019, 2023 Free Software Foundation, Inc.
+## Copyright (C) 1995-2024 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
+AUTOMAKE_OPTIONS = 1.5 gnits
 EXTRA_DIST =
 MOSTLYCLEANFILES = core *.stackdump
 CLEANFILES =
index 3f5ed0575959b9ae13b355b8b790170beb9d9ba9..ae1905f2292aa5b319c9ca95268cb2a9d075e40c 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile for the gettext-runtime/tests subdirectory of GNU gettext
-## Copyright (C) 2005-2023 Free Software Foundation, Inc.
+## Copyright (C) 2005-2024 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.11 gnits no-dependencies color-tests subdir-objects
+AUTOMAKE_OPTIONS = 1.11 gnits color-tests subdir-objects
 EXTRA_DIST =
 
 TESTS =
index d198877ce3ae0236f3eea85265c15668ee2fd0cc..1d6c665a75ff018f94b08f2f5d8e4cfb28315675 100644 (file)
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
+AUTOMAKE_OPTIONS = 1.5 gnu
 ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../m4 -I gnulib-m4 -I libgrep/gnulib-m4 -I libgettextpo/gnulib-m4 -I tests/gnulib-m4
 
 SUBDIRS = gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests gnulib-tests examples doc
index 83eca02aabf86659bb3ee35a1589b86754e2e95e..79f5d4d49de82c4febdaba91edb4ce65a136d23e 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile for the gettext-tools/gnulib-lib subdirectory of GNU gettext
-## Copyright (C) 1995-1998, 2000-2006, 2009, 2016, 2019, 2021, 2023 Free Software Foundation, Inc.
+## Copyright (C) 1995-2024 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects no-dependencies
+AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
 EXTRA_DIST =
 BUILT_SOURCES =
 MOSTLYCLEANFILES = core *.stackdump
index e0a7d8d4859f0c6b963d698aeb551c8d673e5637..c9248361b2fdb0314fd0823d70a3932504caa9ea 100644 (file)
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies subdir-objects
+AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
 EXTRA_DIST =
 BUILT_SOURCES =
 MOSTLYCLEANFILES = core *.stackdump
index 0d0d2b2c654d9eb2e7347bf253ba4f5c68ec5e15..9353631df4aed3252315341e291725d47d2abba2 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile for libgrep directory in GNU gettext package.
-## Copyright (C) 2005-2007, 2009-2010, 2014, 2021, 2023 Free Software Foundation, Inc.
+## Copyright (C) 2005-2024 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies subdir-objects
+AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
 EXTRA_DIST =
 BUILT_SOURCES =
 MOSTLYCLEANFILES = core *.stackdump
index 98a919c43037ab42ea31b179d6e71ec5dfd5b847..a2debde31e904eea11197eb23e93801f9b43fde5 100644 (file)
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies subdir-objects
+AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
 EXTRA_DIST =
 BUILT_SOURCES =
 MOSTLYCLEANFILES = core *.stackdump
index 63076aee1ff9d572de888fc84234a0ab06b79999..c976992804f07aba3151f6fd2ba204c85931ee58 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile for the gettext-tools/system-tests subdirectory of GNU gettext
-## Copyright (C) 1995-2023 Free Software Foundation, Inc.
+## Copyright (C) 1995-2024 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.11 gnits no-dependencies color-tests
+AUTOMAKE_OPTIONS = 1.11 gnits color-tests
 EXTRA_DIST =
 MOSTLYCLEANFILES = core *.stackdump
 
index a6ca4f78f8af1f5268da4ecae466916a97bf02ee..019c6dd7bbf1b2cd46b676d14d48ae8ed53a1303 100644 (file)
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.11 gnits no-dependencies color-tests
+AUTOMAKE_OPTIONS = 1.11 gnits color-tests
 SUBDIRS = gnulib-lib
 EXTRA_DIST =
 MOSTLYCLEANFILES = core *.stackdump
index 37ebb9618cf3cf785e8d1483deb14170832d8e64..8edd6b9eeaa728168a33ddb3f419df343da95174 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile for the gettext-tools/tests/gnulib-lib subdirectory of GNU gettext
-## Copyright (C) 2023 Free Software Foundation, Inc.
+## Copyright (C) 2023-2024 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects no-dependencies
+AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
 EXTRA_DIST =
 BUILT_SOURCES =
 MOSTLYCLEANFILES = core *.stackdump
index 43121117ae3ce8f0c3c05e7e42283b1134388a20..7318cd56665cedb01f335081f21f95f56be3a6ea 100644 (file)
@@ -7,8 +7,6 @@ Depends-on:
 configure.ac:
 
 Makefile.am:
-AUTOMAKE_OPTIONS += no-dependencies
-
 # Needed for the gnulib source code that does '#include "gettext.h"'.
 AM_CPPFLAGS += -I$(top_builddir)/intl
 
index 7544f52805fbf89f6a3e4d04208f0a8718f65ebe..c1091b5134e37170a24dde129024a6f4596b1f6b 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile for the toplevel directory of GNU libtextstyle
-## Copyright (C) 1995-2023 Free Software Foundation, Inc.
+## Copyright (C) 1995-2024 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.13 gnu no-dependencies
+AUTOMAKE_OPTIONS = 1.13 gnu
 ACLOCAL_AMFLAGS = -I m4 -I gnulib-m4
 
 # The list of subdirectories containing Makefiles.
index 943bb60e348b84c8dea7835cd86534ab3dcda8f4..f869f5d729b4c1d27ca1c1568fd7270ba4cd68f5 100644 (file)
@@ -1,5 +1,5 @@
 ## Makefile for the lib subdirectory of GNU libtextstyle.
-## Copyright (C) 2009-2023 Free Software Foundation, Inc.
+## Copyright (C) 2009-2024 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 
 ## Process this file with automake to produce Makefile.in.
 
-AUTOMAKE_OPTIONS = 1.13 gnits subdir-objects no-dependencies
+AUTOMAKE_OPTIONS = 1.13 gnits subdir-objects
 EXTRA_DIST =
 BUILT_SOURCES =
 MOSTLYCLEANFILES = core *.stackdump