diff options
author | Jiri (George) Lebl <jiri.lebl@gmail.com> | 2018-05-14 16:45:35 -0500 |
---|---|---|
committer | Jiri (George) Lebl <jiri.lebl@gmail.com> | 2018-05-14 16:45:35 -0500 |
commit | 750caea342a2b8bed297fb335372c10f34f36b6c (patch) | |
tree | 61dfe9e076b107421c325c3912b7c3ac4e2c80e2 /help | |
parent | eb6f5fb1dc79a95ff90e14c51e11e4a5fc257294 (diff) |
minor updates, add my script to make docs
Diffstat (limited to 'help')
-rwxr-xr-x | help/C/make-only.sh | 37 | ||||
-rw-r--r-- | 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 00000000..91f7f63e --- /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 09ac3f1d..1b3a739f 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 |