]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
As discussed on the mailing list, get the svn revision number from the test
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Mar 2013 16:26:19 +0000 (16:26 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Mar 2013 16:26:19 +0000 (16:26 +0000)
directory rather than the source directory of deal.II.

git-svn-id: https://svn.dealii.org/branches/branch_cmake@28755 0785d39b-7218-0410-832d-ea1e28bc413d

tests/Makefile.rules

index a091cf2768ba4159e8734871901cedbdde2b7e39..2a5e082c385024778cb52573fc099e5c3a66b7e5 100644 (file)
@@ -172,9 +172,7 @@ default: run-tests
 ############################################################
 report:
        @-$(MAKE) -k run-tests
-       @if test -f $D/common/Version.svn ; then \
-               echo "Revision: `cat $D/common/Version.svn`" ; \
-        fi
+       @-svn info . | grep '^Revision'
        @echo 'Date: ' `date -u +"%Y %j  %F  %U-%w"`
        @echo 'Id: ' $(ID)
        @for test in $(sort $(tests)) ; do \

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.