From ea37d4c0729057b01c0e0b82b3bef7030379da2f Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Mon, 22 Jan 2007 23:09:07 +0000 Subject: Use the svn revision number for version information too, version string is now "r- unless there is a static version file (e.g. created by tools/release). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12090 a1c6a512-1295-4272-9138-f99709370657 --- manual/Makefile | 1 + manual/intro/main.tex | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'manual') diff --git a/manual/Makefile b/manual/Makefile index c55ff12f6d..19a5d3d7be 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -16,6 +16,7 @@ manual-prep: rockbox.tex @mkdir -p $(OBJDIR) @find * -type d \! -regex '.*\.svn.*' -exec mkdir -p $(OBJDIR)/{} \; @find * -type f \! -regex '.*\.svn.*' -exec cp {} $(OBJDIR)/{} \; + @../tools/svnversion.sh > version.tex @perl credits.pl < ../docs/CREDITS | iconv -f utf-8 -t iso-8859-1 > $(OBJDIR)/CREDITS.tex @echo "\newcommand{\platform}{${MANUALDEV}}" > $(OBJDIR)/rockbox-build.tex @echo "\newcommand{\buildversion}{$(VERSION)}" >> $(OBJDIR)/rockbox-build.tex diff --git a/manual/intro/main.tex b/manual/intro/main.tex index c41a6ea6c6..6eceacabb7 100644 --- a/manual/intro/main.tex +++ b/manual/intro/main.tex @@ -7,7 +7,7 @@ % \/ \/ \/ \/ \/ % - M A N U A L - % -% $Id:$ +% $Id$ % % Copyright (C) 2006 The Rockbox Manual Team % @@ -44,6 +44,10 @@ contributors. \copyright~2004 Christi Alice Scarborough, \copyright~2003 Jos\'{e} Maria Garcia-Valdecasas Bernal \& Peter Schlenker. \end{quote} +\vspace{3mm} +\begin{center} +\IfFileExists{version.tex}{Build with \LaTeX{} from version \input{version.tex}}{} +\end{center} \vspace{\fill} \begin{quote} -- cgit v1.2.3