summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/docs/plaintext
blob: 4f15ff702a0207a3a972795556f507d9f2399217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh -e
#
# Libreboot documentation build script: plaintext
#

echo "@set librebootbase `pwd`" > docs/constants.texi

basedir="docs/manual/"
outfile="${basedir}libreboot.txt"
texinfo_src="docs/libreboot.texi"

[ -d docs/manual ] || mkdir docs/manual

echo "Writing manual: $outfile..."
makeinfo --no-warn --no-split --plaintext -o $outfile $texinfo_src

echo "Making $outfile.gz..."
gzip -f -9 -c $outfile > $outfile.gz 

echo "Done."