From: Wolfgang Bangerth Date: Wed, 6 Mar 2013 11:43:38 +0000 (+0000) Subject: Get revision number from an installed file. X-Git-Tag: v8.0.0~1079^2~37 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1bd68ea50d4e222ce3f879405bd119d5c040f11;p=dealii.git Get revision number from an installed file. git-svn-id: https://svn.dealii.org/branches/branch_cmake@28750 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/Makefile.rules b/tests/Makefile.rules index ec4ba33478..a091cf2768 100644 --- a/tests/Makefile.rules +++ b/tests/Makefile.rules @@ -1,7 +1,7 @@ ###################################################################### # Makefile.rules,v 1.11 2001/04/24 13:18:09 wolf Exp # -# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, the deal.II authors +# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, the deal.II authors # # Common make rules for test files. To be included by the Makefiles # in the subdirectories. @@ -26,7 +26,7 @@ MAIL=mail #this lets you overwrite the diff tool for comparisons. #recommended environment setting: #export DEALII_DIFF="numdiff -a 1e-6 -q" -DEALII_DIFF?=diff +DEALII_DIFF?=diff PLATFORM = $(TARGET)+$(GXX-VERSION:intel_%=%) PLATFORM-HIERARCHY = $(shell $(PERL) ../hierarchy.pl $(PLATFORM)) @@ -172,7 +172,9 @@ default: run-tests ############################################################ report: @-$(MAKE) -k run-tests - @-svn info $D | grep '^Revision' + @if test -f $D/common/Version.svn ; then \ + echo "Revision: `cat $D/common/Version.svn`" ; \ + fi @echo 'Date: ' `date -u +"%Y %j %F %U-%w"` @echo 'Id: ' $(ID) @for test in $(sort $(tests)) ; do \ @@ -318,4 +320,3 @@ Makefile.tests: Makefile $(shell echo *.cc) .PHONY: report show-tests clean distclean summary %/ref -