From f8863b8ba21071180accdfdcd9098f7bad7bbc81 Mon Sep 17 00:00:00 2001
From: Sebastian Kuhnert
Date: Fri, 27 Nov 2009 12:38:26 +0000
Subject: add svn-based dynamic version information

---
 exercisesheets.sty | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'exercisesheets.sty')

diff --git a/exercisesheets.sty b/exercisesheets.sty
index 42470e5..c319632 100644
--- a/exercisesheets.sty
+++ b/exercisesheets.sty
@@ -1,12 +1,13 @@
-\def\fileversion{0.5g}
-\def\filedate{2009/02/09}
+%\NeedsTeXFormat{LaTeX2e}[1994/12/01]
+\RequirePackage{svn-prov}
+\def\exsh@version{0.5h}
+\ProvidesPackage{$ID: $}[\exsh@version\space Typesetting of exercise sheets \revinfo]
+\GetFileInfoSVN*
+\message{`Typesetting of exercise sheets' \exsh@version <\filedate> \revinfo}
 
 % TODO: allow \and in author and solutionsby
 % TODO: fix "above hint skip"
 
-%\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{exercisesheets}[\filedate\space\fileversion\space Typesetting of exercise sheets]
-\message{`Typesetting of exercise sheets' \fileversion\space <\filedate>}
 
 \RequirePackage{etoolbox}[2008/06/28]
 \RequirePackage{scrlfile}
-- 
cgit v1.2.3

