[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#564915: another minor fix/improvement



Hi Holger,

here is another small improvement (not worth to file a new bug but I do
not want to commit it without discuss it first).

It's really simple, the attached patch says it all: The Makefile
contains a variable to be updated with every point release, it is
currently wrong and defines the title of the manual.

With the patch we can forget about updating it manually, the Version
is deduced from the wiki title, which is probably more visible.

Regards
	Andi 
Index: documentation/debian-edu-lenny/Makefile
===================================================================
--- documentation/debian-edu-lenny/Makefile	(revision 62782)
+++ documentation/debian-edu-lenny/Makefile	(working copy)
@@ -3,7 +3,8 @@
 #
 url=http://wiki.debian.org/DebianEdu/Documentation/Lenny/
 name=debian-edu-lenny-manual
-DEBIAN_EDU_DOC_TITLE="Debian Edu / Skolelinux Lenny 5.0.1+edu0~alpha Manual"
+VER=`GET $url?action=raw |sed -n '1p'|sed -r 's/^([^0-9])*|([^0-9])*$//g'`
+DEBIAN_EDU_DOC_TITLE="Debian Edu / Skolelinux Lenny $VER Manual"
 path1=DebianEdu/Documentation/Lenny
 path2='\/DebianEdu\/Documentation\/'
 export 

Reply to: