summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2011-06-16 22:09:45 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-06-16 22:09:45 (GMT)
commit2852ad9f1ff410c262614d45bb50fad8956793ca (patch) (side-by-side diff)
tree318a8fb5d331aeae9a2c3c0add0e8e957982a505
parent79998f1e7772ba1040154c7ba79dc382e23c6302 (diff)
downloadellinika-2852ad9f1ff410c262614d45bb50fad8956793ca.tar.gz
ellinika-2852ad9f1ff410c262614d45bb50fad8956793ca.tar.bz2
Update VCS references in generated pages.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--xml/lingua.conf.in13
-rw-r--r--xml/pl/Makefile.am4
-rw-r--r--xml/pl/ellinika.xml5
-rw-r--r--xml/ru/Makefile.am4
-rw-r--r--xml/ru/ellinika.xml7
-rw-r--r--xml/uk/Makefile.am4
-rw-r--r--xml/uk/antonimies.xml6
-rw-r--r--xml/uk/ellinika.xml7
-rw-r--r--xml/uk/epitheta.xml6
-rw-r--r--xml/uk/istoria.xml6
-rw-r--r--xml/uk/oysiastika.xml6
-rw-r--r--xml/uk/tonos.xml6
12 files changed, 38 insertions, 36 deletions
diff --git a/xml/lingua.conf.in b/xml/lingua.conf.in
index 1e7ded3..66e62cb 100644
--- a/xml/lingua.conf.in
+++ b/xml/lingua.conf.in
@@ -74,10 +74,15 @@ this notice is preserved.</p>\n"
"<div class=\"hidden-info\">Page generated on "
(strftime "%c" (localtime (current-time)))
- (let ((vcs-id (xmltrans:attr attr "VCS-ID")))
- (if (and vcs-id (not (string-null? vcs-id)))
- (string-append " from " vcs-id)
- ""))
+ (let ((vcs-id (or (xmltrans:attr attr "VCS-ID")
+ (lingua:getval "VCSID"))))
+ (cond
+ ((not vcs-id) "")
+ ((string-null? vcs-id) "")
+ ((let ((v (lingua:getval "STATE"))) (and v (string=? v "EXP")))
+ (string-append " from <a href=\"http://git.gnu.org.ua/cgit/ellinika.git/commit/?id=" vcs-id "\">" vcs-id "</a>"))
+ (else
+ (string-append " from " vcs-id))))
"</div>"
))
diff --git a/xml/pl/Makefile.am b/xml/pl/Makefile.am
index c4a74ed..1dcc4dd 100644
--- a/xml/pl/Makefile.am
+++ b/xml/pl/Makefile.am
@@ -1,5 +1,5 @@
# This file is part of Ellinika project.
-# Copyright (C) 2006, 2007, 2010 Sergey Poznyakoff
+# Copyright (C) 2006-2011 Sergey Poznyakoff
#
# Ellinika is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -44,5 +44,5 @@ CLEANFILES=stamp-lingua
all: stamp-lingua
stamp-lingua: $(EXTRA_DIST) ../lingua.conf
- xmlt lingua -D STATE=$(STATE) --config-file ../lingua.conf ellinika.xml && echo "timestamp" > stamp-lingua
+ xmlt lingua -D STATE=$(STATE) -D VCSID="`git describe --always`" --config-file ../lingua.conf ellinika.xml && echo "timestamp" > stamp-lingua
diff --git a/xml/pl/ellinika.xml b/xml/pl/ellinika.xml
index 1c18a62..c5d3263 100644
--- a/xml/pl/ellinika.xml
+++ b/xml/pl/ellinika.xml
@@ -7,8 +7,7 @@
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts. A copy of the license is included in the file COPYING.FDL -->
-<!-- $Id$ -->
-<LINGUA PREREQ="1.3 commit=147" LANG="pl" TER="PL" PREFIX="ellinika" LINK="rss=/pl/nea.rss">
+<LINGUA PREREQ="1.3 commit=148" LANG="pl" TER="PL" PREFIX="ellinika" LINK="rss=/pl/nea.rss">
<AUTHOR CONTACT="Sergiusza Poznyakowa">Sergey Poznyakoff</AUTHOR>
<KEYWORDS>grecki,gramatyka,słownik</KEYWORDS>
@@ -32,7 +31,7 @@
</WARNING>
<COPYRIGHT>
-<FOOTER VCS-ID="$Id$">
+<FOOTER>
Copyright <![CDATA[&copy;]]> 2004-2011 Sergey Poznyakoff
</FOOTER>
</COPYRIGHT>
diff --git a/xml/ru/Makefile.am b/xml/ru/Makefile.am
index a4dcd1e..d64f4cc 100644
--- a/xml/ru/Makefile.am
+++ b/xml/ru/Makefile.am
@@ -1,5 +1,5 @@
# This file is part of Ellinika project.
-# Copyright (C) 2004, 2007, 2010 Sergey Poznyakoff
+# Copyright (C) 2004-2011 Sergey Poznyakoff
#
# Ellinika is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -44,5 +44,5 @@ CLEANFILES=stamp-lingua
all: stamp-lingua
stamp-lingua: $(EXTRA_DIST) ../lingua.conf
- xmlt lingua -D STATE=$(STATE) --config-file ../lingua.conf ellinika.xml && echo "timestamp" > stamp-lingua
+ xmlt lingua -D STATE=$(STATE) -D VCSID="`git describe --always`" --config-file ../lingua.conf ellinika.xml && echo "timestamp" > stamp-lingua
diff --git a/xml/ru/ellinika.xml b/xml/ru/ellinika.xml
index b0ef595..5721d1b 100644
--- a/xml/ru/ellinika.xml
+++ b/xml/ru/ellinika.xml
@@ -7,8 +7,7 @@
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts. A copy of the license is included in the file COPYING.FDL -->
-<!-- $Id$ -->
-<LINGUA PREREQ="1.3 commit=147" LANG="ru" TER="RU" PREFIX="ellinika" LINK="rss=/ru/nea.rss">
+<LINGUA PREREQ="1.3 commit=148" LANG="ru" TER="RU" PREFIX="ellinika" LINK="rss=/ru/nea.rss">
<AUTHOR CONTACT="Сергею Познякову">Sergey Poznyakoff</AUTHOR>
<KEYWORDS>греческий,грамматика,словарь</KEYWORDS>
@@ -32,8 +31,8 @@
</WARNING>
<COPYRIGHT>
-<FOOTER VCS-ID="$Id$">
-Copyright <![CDATA[&copy;]]> 2004, 2005, 2006, 2007, 2010 Sergey Poznyakoff
+<FOOTER>
+Copyright <![CDATA[&copy;]]> 2004-2011 Sergey Poznyakoff
</FOOTER>
</COPYRIGHT>
diff --git a/xml/uk/Makefile.am b/xml/uk/Makefile.am
index c4a74ed..1dcc4dd 100644
--- a/xml/uk/Makefile.am
+++ b/xml/uk/Makefile.am
@@ -1,5 +1,5 @@
# This file is part of Ellinika project.
-# Copyright (C) 2006, 2007, 2010 Sergey Poznyakoff
+# Copyright (C) 2006-2011 Sergey Poznyakoff
#
# Ellinika is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -44,5 +44,5 @@ CLEANFILES=stamp-lingua
all: stamp-lingua
stamp-lingua: $(EXTRA_DIST) ../lingua.conf
- xmlt lingua -D STATE=$(STATE) --config-file ../lingua.conf ellinika.xml && echo "timestamp" > stamp-lingua
+ xmlt lingua -D STATE=$(STATE) -D VCSID="`git describe --always`" --config-file ../lingua.conf ellinika.xml && echo "timestamp" > stamp-lingua
diff --git a/xml/uk/antonimies.xml b/xml/uk/antonimies.xml
index 2aae86a..9242213 100644
--- a/xml/uk/antonimies.xml
+++ b/xml/uk/antonimies.xml
@@ -1,6 +1,6 @@
<!--
- Copyright (C) 2006 Sergey Poznyakoff
+ Copyright (C) 2006-2011 Sergey Poznyakoff
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
@@ -10,8 +10,8 @@
<CHAPTER PREFIX="antonimies">
<COPYRIGHT>
-<FOOTER VCS-ID="$Id$">
-Copyright <![CDATA[&copy;]]> 2004, 2007, 2011 Sergey Poznyakoff, Olena Malchik
+<FOOTER>
+Copyright <![CDATA[&copy;]]> 2006-2011 Sergey Poznyakoff, Olena Malchik
</FOOTER>
</COPYRIGHT>
<PAGE HEADER="Займенник">
diff --git a/xml/uk/ellinika.xml b/xml/uk/ellinika.xml
index 12d8550..991ef9e 100644
--- a/xml/uk/ellinika.xml
+++ b/xml/uk/ellinika.xml
@@ -7,8 +7,7 @@
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts. A copy of the license is included in the file COPYING.FDL -->
-<!-- $Id$ -->
-<LINGUA PREREQ="1.3 commit=147" LANG="uk" TER="UA" PREFIX="ellinika" LINK="rss=/uk/nea.rss">
+<LINGUA PREREQ="1.3 commit=148" LANG="uk" TER="UA" PREFIX="ellinika" LINK="rss=/uk/nea.rss">
<AUTHOR CONTACT="Сергія Познякова" >Sergey Poznyakoff</AUTHOR>
<KEYWORDS>грецька,граматика,словник</KEYWORDS>
@@ -32,8 +31,8 @@
</WARNING>
<COPYRIGHT>
-<FOOTER VCS-ID="$Id$">
-Copyright <![CDATA[&copy;]]> 2004, 2005, 2006, 2007, 2010 Sergey Poznyakoff
+<FOOTER>
+Copyright <![CDATA[&copy;]]> 2004-2011 Sergey Poznyakoff
</FOOTER>
</COPYRIGHT>
diff --git a/xml/uk/epitheta.xml b/xml/uk/epitheta.xml
index 25bd980..c3b0580 100644
--- a/xml/uk/epitheta.xml
+++ b/xml/uk/epitheta.xml
@@ -1,6 +1,6 @@
<!--
- Copyright (C) 2004, 2007 Sergey Poznyakoff, Olena Malchik
+ Copyright (C) 2004-2011 Sergey Poznyakoff, Olena Malchik
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
@@ -388,8 +388,8 @@
</SECTION>
<COPYRIGHT>
-<FOOTER VCS-ID="$Id$">
-Copyright <![CDATA[&copy;]]> 2004, 2007 Sergey Poznyakoff, Olena Malchik
+<FOOTER>
+Copyright <![CDATA[&copy;]]> 2004-2011 Sergey Poznyakoff, Olena Malchik
</FOOTER>
</COPYRIGHT>
diff --git a/xml/uk/istoria.xml b/xml/uk/istoria.xml
index 6f6941d..3ac6021 100644
--- a/xml/uk/istoria.xml
+++ b/xml/uk/istoria.xml
@@ -1,6 +1,6 @@
<!--
- Copyright (C) 2004, 2010 Sergey Poznyakoff
+ Copyright (C) 2004-2011 Sergey Poznyakoff
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
@@ -233,8 +233,8 @@ IV - III ст. до н. е., що вплинуло на всю подальшу
буквосполучень.</PARA>
<COPYRIGHT>
-<FOOTER VCS-ID="$Id$">
-Copyright <![CDATA[&copy;]]> 2004, 2005, 2006, 2007 Sergey Poznyakoff,
+<FOOTER>
+Copyright <![CDATA[&copy;]]> 2004-2011 Sergey Poznyakoff,
Olena Malchik
</FOOTER>
</COPYRIGHT>
diff --git a/xml/uk/oysiastika.xml b/xml/uk/oysiastika.xml
index 7b5b514..06a1e11 100644
--- a/xml/uk/oysiastika.xml
+++ b/xml/uk/oysiastika.xml
@@ -1,6 +1,6 @@
<!--
- Copyright (C) 2004, 2007 Sergey Poznyakoff, Olena Malchik
+ Copyright (C) 2004-2011 Sergey Poznyakoff, Olena Malchik
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
@@ -10,8 +10,8 @@
<CHAPTER PREFIX="oysiastika">
<COPYRIGHT>
-<FOOTER VCS-ID="$Id$">
-Copyright <![CDATA[&copy;]]> 2004, 2007 Sergey Poznyakoff, Olena Malchik
+<FOOTER>
+Copyright <![CDATA[&copy;]]> 2004-2011 Sergey Poznyakoff, Olena Malchik
</FOOTER>
</COPYRIGHT>
diff --git a/xml/uk/tonos.xml b/xml/uk/tonos.xml
index fdd8c70..2671deb 100644
--- a/xml/uk/tonos.xml
+++ b/xml/uk/tonos.xml
@@ -1,6 +1,6 @@
<!--
- Copyright (C) 2004 Sergey Poznyakoff
+ Copyright (C) 2004-2011 Sergey Poznyakoff
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
@@ -80,8 +80,8 @@
</SECTION>
<COPYRIGHT>
-<FOOTER VCS-ID="$Id$">
-Copyright <![CDATA[&copy;]]> 2004, 2005, 2006, 2007 Sergey Poznyakoff,
+<FOOTER>
+Copyright <![CDATA[&copy;]]> 2004-2011 Sergey Poznyakoff,
Olena Malchik
</FOOTER>
</COPYRIGHT>

Return to:

Send suggestions and report system problems to the System administrator.