[genius] minor updates, add my script to make docs
- From: George Lebl <jirka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [genius] minor updates, add my script to make docs
- Date: Mon, 14 May 2018 22:11:43 +0000 (UTC)
commit 750caea342a2b8bed297fb335372c10f34f36b6c
Author: Jiri (George) Lebl <jiri lebl gmail com>
Date: Mon May 14 16:45:35 2018 -0500
minor updates, add my script to make docs
help/C/make-only.sh | 37 +++++++++++++++++++++++++++++++++++++
help/HOWTO-FOR-TRANSLATORS | 2 +-
2 files changed, 38 insertions(+), 1 deletions(-)
---
diff --git a/help/C/make-only.sh b/help/C/make-only.sh
new file mode 100755
index 0000000..91f7f63
--- /dev/null
+++ b/help/C/make-only.sh
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+# This script is for George only, so recognize my machine :)
+if [ ! -d /home/jirka/ ]; then
+ echo "Only George wants to run this script (it's for updating the genius webpage)"
+ exit
+fi
+
+echo rm -f *.html *.pdf *.ps
+rm -f *.html *.pdf *.ps
+
+#echo SP_ENCODING=\"utf-8\" docbook2html genius.xml
+#SP_ENCODING="utf-8" docbook2html genius.xml
+
+echo xmlto html genius.xml
+xmlto html genius.xml
+
+#echo xmlto pdf genius.xml
+#xmlto pdf genius.xml
+
+#echo docbook2pdf genius.xml
+#docbook2pdf genius.xml
+echo dblatex genius.xml
+dblatex genius.xml
+#echo docbook2ps genius.xml
+#docbook2ps genius.xml
+#echo ps2pdf genius.ps genius.pdf
+#ps2pdf genius.ps genius.pdf
+
+#echo scp *.html zinc.5z.com:/home/www/html/jirka/genius-documentation/
+#scp *.html zinc.5z.com:/home/www/html/jirka/genius-documentation/
+
+#echo scp figures/*.png zinc.5z.com:/home/www/html/jirka/genius-documentation/figures/
+#scp figures/*.png zinc.5z.com:/home/www/html/jirka/genius-documentation/figures/
+
+#echo scp genius.pdf zinc.5z.com:/home/www/html/jirka/genius-reference.pdf
+#scp genius.pdf zinc.5z.com:/home/www/html/jirka/genius-reference.pdf
diff --git a/help/HOWTO-FOR-TRANSLATORS b/help/HOWTO-FOR-TRANSLATORS
index 09ac3f1..1b3a739 100644
--- a/help/HOWTO-FOR-TRANSLATORS
+++ b/help/HOWTO-FOR-TRANSLATORS
@@ -19,7 +19,7 @@ Since automake is dumb and can't handle having files that I can't predict in
the distribution. This needs to be updated when a new language is added: the
LANGS="" at the top of the file.
-To add a new language you just add the subdirectory, generate a .po file fro
+To add a new language you just add the subdirectory, generate a .po file from
genius.xml with xml2po then add the directory language to the two scripts
above. If you add figures, just add the figures subdirectory and the figures
with same file names as the C ones in there. The script above will take care
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]