Code

rules: Output the content of config.log if configure fails.
authorSebastian Harl <sh@tokkee.org>
Tue, 22 Dec 2009 22:57:52 +0000 (23:57 +0100)
committerSebastian Harl <sh@tokkee.org>
Tue, 22 Dec 2009 22:57:52 +0000 (23:57 +0100)
This might help debugging.

debian/changelog
debian/rules

index cb29f5cdaf6c907873a49918ce7ffa876371a646..4974dc0ac91792700f45ff16387541f4df194370 100644 (file)
@@ -34,10 +34,12 @@ collectd (4.8.2-1) unstable; urgency=low
     - Pass --disable-static to configure to tell libtool 2 to not build any
       static libraries.
     - Install debian/collectd.conf as an example into "collectd-core".
+    - Output the content of config.log if configure fails -- this might help
+      debugging.
   * debian/README.Debian:
     - Added a short explanation of the package split.
 
- -- Sebastian Harl <tokkee@debian.org>  Tue, 22 Dec 2009 23:20:46 +0100
+ -- Sebastian Harl <tokkee@debian.org>  Tue, 22 Dec 2009 23:56:46 +0100
 
 collectd (4.8.1-2) unstable; urgency=low
 
index 9b46ea37fa3aaadd028222686e13ef22661a5f4d..a022bad91874e4d45bd96acff22a6c4c85607f34 100755 (executable)
@@ -101,7 +101,8 @@ config.status: configure $(DPATCH_STAMPFN)
        PKG_CONFIG_PATH="$(CURDIR)/debian/pkgconfig:$$PKG_CONFIG_PATH" \
        ./configure $(confflags) CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
                JAVAC="$(JAVAC)" JAVA_CPPFLAGS="$(JAVA_CPPFLAGS)" \
-               JAVA_LDFLAGS="$(JAVA_LDFLAGS)"
+               JAVA_LDFLAGS="$(JAVA_LDFLAGS)" \
+               || ( status=$$?; cat config.log; exit $$status )
 
 build: build-stamp