[Pixman] [PATCH] Add AM_MAINTAINER_MODE.
Cyril Brulebois
kibi at debian.org
Tue Mar 8 19:46:23 PST 2011
Disable dependency tracking by default, which can help avoiding
unnecessary rebuilds due to timestamp skews. But keep dependency
tracking enabled when configure gets called from autogen.sh, since
developers probably want automatic rebuilds when relevant files are
updated.
Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
autogen.sh | 2 +-
configure.ac | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
Note: as a package maintainer, I don't really need it, since I'm
autoreconfing at build-time anyway. The mentioned timestamp skews are
problematic when one relies on ./configure only and don't depend on
autoconf, automake, libtool, etc. Such a rebuild would then lead to
“command not found”-like issues.
I just noticed configure didn't support --disable-maintainer-mode after
a packaging update, it's not really a matter as far as Debian or I are
concerned.
It's your call anyway. :) Thanks for considering.
KiBi.
diff --git a/autogen.sh b/autogen.sh
index 354f254..904cd67 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,4 +9,4 @@ cd $srcdir
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
-$srcdir/configure "$@"
+$srcdir/configure --enable-maintainer-mode "$@"
diff --git a/configure.ac b/configure.ac
index db9a883..bc602aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,6 +60,7 @@ m4_define([pixman_version],[pixman_major.pixman_minor.pixman_micro])
AC_INIT(pixman, pixman_version, [pixman at lists.freedesktop.org], pixman)
AM_INIT_AUTOMAKE([foreign dist-bzip2])
+AM_MAINTAINER_MODE
# Suppress verbose compile lines
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
--
1.7.4.1
More information about the Pixman
mailing list