From 89e234d60d2f1992d5a4ae4aea83dd5b100275b7 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 6 Mar 2013 11:43:38 +0000 Subject: [PATCH] Get revision number from an installed file. git-svn-id: https://svn.dealii.org/branches/branch_cmake@28750 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/Makefile.rules | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 - -- 2.39.5