Package: cdbs
Version: 0.4.56
Severity: wishlist
Tags: patch
The stamp file used for configure target is config.status, which is always
present with configure scripts generated by autoconf. However, not all
configure scripts are generated by autoconf.
A number of projects ship a script with similar semantics that will generate
Makefile but not config.status (qemu and mplayer are two notable examples).
I recommend that Makefile is used as stamp file instead. This prevents
redundant configure runs on such packages.
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-libre2-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cdbs depends on:
ii debhelper 7.0.15 helper programs for debian/rules
Versions of packages cdbs recommends:
ii autotools-dev 20080123.1 Update infrastructure for config.{
Versions of packages cdbs suggests:
ii devscripts 2.10.35lenny3 scripts to make the life of a Debi
pn doc-base <none> (no description available)
-- no debconf information
diff -ur cdbs-0.4.56.old/1/class/autotools.mk.in cdbs-0.4.56/1/class/autotools.mk.in
--- cdbs-0.4.56.old/1/class/autotools.mk.in 2006-08-17 00:36:54.000000000 +0200
+++ cdbs-0.4.56/1/class/autotools.mk.in 2009-06-27 20:47:52.000000000 +0200
@@ -29,8 +29,8 @@
DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) $(MAKE) -C $(DEB_BUILDDIR)
common-configure-arch common-configure-indep:: common-configure-impl
-common-configure-impl:: $(DEB_BUILDDIR)/config.status
-$(DEB_BUILDDIR)/config.status:
+common-configure-impl:: $(DEB_BUILDDIR)/Makefile
+$(DEB_BUILDDIR)/Makefile:
chmod a+x $(DEB_CONFIGURE_SCRIPT)
$(DEB_CONFIGURE_INVOKE) $(cdbs_configure_flags) $(DEB_CONFIGURE_EXTRA_FLAGS) $(DEB_CONFIGURE_USER_FLAGS)
$(if $(filter post,$(DEB_AUTO_UPDATE_LIBTOOL)),if [ -e $(DEB_BUILDDIR)/libtool ]; then cp -f /usr/bin/libtool $(DEB_BUILDDIR)/libtool; fi)