aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/docs/texinfo-gz
diff options
context:
space:
mode:
authorPaul Koenig <paukoen@gmail.com>2016-05-23 13:58:06 -0400
committerLeah Woods <info@minifree.org>2016-05-26 02:56:18 +0100
commitc6563ccc64050070b2c35a281c034a460dbae586 (patch)
treec9e1d788f833161e87d9f3bc22e7795d6eeaf299 /resources/scripts/helpers/build/docs/texinfo-gz
parent4aca93689bfff1be7a6a5a5c623af75dc6ce621a (diff)
downloadlibrebootfr-c6563ccc64050070b2c35a281c034a460dbae586.tar.gz
librebootfr-c6563ccc64050070b2c35a281c034a460dbae586.zip
docs: build scripts
also update libreboot.texi to use absolute paths for references to images, logs, etc.
Diffstat (limited to 'resources/scripts/helpers/build/docs/texinfo-gz')
-rwxr-xr-xresources/scripts/helpers/build/docs/texinfo-gz17
1 files changed, 17 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/docs/texinfo-gz b/resources/scripts/helpers/build/docs/texinfo-gz
new file mode 100755
index 00000000..aaf88834
--- /dev/null
+++ b/resources/scripts/helpers/build/docs/texinfo-gz
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+#
+# Libreboot documentation build script: texinfo-gz
+#
+
+echo "@set librebootbase `pwd`" > docs/constants.texi
+
+basedir="docs/manual/"
+outfile="${basedir}libreboot.texi.gz"
+texinfo_src="docs/libreboot.texi"
+
+[ -d docs/manual ] || mkdir docs/manual
+
+echo "Making $outfile..."
+gzip -f -9 -c $texinfo_src > $outfile
+
+echo "Done."