summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/docs/html-by-section
diff options
context:
space:
mode:
authorPaul Koenig <paukoen@gmail.com>2016-06-05 02:29:40 (EDT)
committer Leah Rowe <info@minifree.org>2016-07-16 13:42:19 (EDT)
commit2064e4380273acd424fb4cde4a0657d2e3f809fa (patch)
treec84ce95e806111d024abc1093a2ba9f41e20395c /resources/scripts/helpers/build/docs/html-by-section
parent7aa77afe0bf8ee3849ed8d9c7f6482face022b6b (diff)
downloadlibreboot-2064e4380273acd424fb4cde4a0657d2e3f809fa.zip
libreboot-2064e4380273acd424fb4cde4a0657d2e3f809fa.tar.gz
libreboot-2064e4380273acd424fb4cde4a0657d2e3f809fa.tar.bz2
docs: build scripts rewrite
".master" script in resources/scripts/helpers/build/docs Adds option to build html for libreboot website with "./build docs <html-type> w" Converts jpegs to eps for dvi and ps output, if these formats are built, using imagemagick. Archives resources (images) with compressed html manuals.
Diffstat (limited to 'resources/scripts/helpers/build/docs/html-by-section')
-rwxr-xr-xresources/scripts/helpers/build/docs/html-by-section23
1 files changed, 1 insertions, 22 deletions
diff --git a/resources/scripts/helpers/build/docs/html-by-section b/resources/scripts/helpers/build/docs/html-by-section
index 262d7fb..c6f6fe0 100755
--- a/resources/scripts/helpers/build/docs/html-by-section
+++ b/resources/scripts/helpers/build/docs/html-by-section
@@ -1,24 +1,3 @@
#!/bin/sh -e
-#
-# Libreboot documentation build script: html-by-section
-#
-# Note: currently the manual generated by this script does
-# not display images correctly
-#
+./build docs .master $0 $@
-echo "@set docsdir ../../" > docs/constants.texi
-
-basefile=`basename "$0"`
-basedir="docs/manual/"
-outdir="${basedir}libreboot_${basefile}"
-texinfo_src="docs/libreboot.texi"
-
-[ -d docs/manual ] || mkdir docs/manual
-
-echo "Writing manual: $outdir..."
-makeinfo --html --no-warn --split=section -o $outdir $texinfo_src
-
-echo "Making $outdir.tar.gz..."
-tar -czf $outdir.tar.gz $outdir
-
-echo "Done."