[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r3313 - in glibc-package/trunk/debian: . rules.d



Author: aurel32
Date: 2009-02-25 14:38:31 +0000 (Wed, 25 Feb 2009)
New Revision: 3313

Added:
   glibc-package/trunk/debian/rules.d/info.mk
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/rules
Log:
  * debian/rules.d/info.mk: new file to dump useful info in the build log.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2009-02-25 14:33:33 UTC (rev 3312)
+++ glibc-package/trunk/debian/changelog	2009-02-25 14:38:31 UTC (rev 3313)
@@ -19,8 +19,9 @@
     number in upstream README.  Closes: bug#516908.
   * debian/rules.d/build.mk: disable the testsuite on ball/mayr/mayer/rem
     build daemons.
+  * debian/rules.d/info.mk: new file to dump useful info in the build log.
 
- -- Aurelien Jarno <aurel32@debian.org>  Tue, 24 Feb 2009 22:52:00 +0100
+ -- Aurelien Jarno <aurel32@debian.org>  Wed, 25 Feb 2009 15:37:58 +0100
 
 glibc (2.9-3) unstable; urgency=low
 

Modified: glibc-package/trunk/debian/rules
===================================================================
--- glibc-package/trunk/debian/rules	2009-02-25 14:33:33 UTC (rev 3312)
+++ glibc-package/trunk/debian/rules	2009-02-25 14:38:31 UTC (rev 3313)
@@ -174,7 +174,8 @@
 
 binary: binary-indep binary-arch
 
-build:	$(patsubst %,$(stamp)build_%,$(GLIBC_PASSES)) \
+build:	$(stamp)info \
+	$(patsubst %,$(stamp)build_%,$(GLIBC_PASSES)) \
 	$(patsubst %,$(stamp)check_%,$(GLIBC_PASSES)) \
 	$(stamp)source $(stamp)doc
 

Added: glibc-package/trunk/debian/rules.d/info.mk
===================================================================
--- glibc-package/trunk/debian/rules.d/info.mk	                        (rev 0)
+++ glibc-package/trunk/debian/rules.d/info.mk	2009-02-25 14:38:31 UTC (rev 3313)
@@ -0,0 +1,16 @@
+#
+# Add here instructions to dump useful debug information
+#
+
+$(stamp)info:
+	@echo '------------------------------------------------------'
+	
+	uname -a
+	@echo
+
+	if [ -f /proc/cpuinfo ] ; then cat /proc/cpuinfo ; fi
+	@echo
+
+	@echo '------------------------------------------------------'
+
+	touch $@


Reply to: