aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build')
-rwxr-xr-xresources/scripts/helpers/build/docs/dvi2
-rwxr-xr-xresources/scripts/helpers/build/docs/html2
-rwxr-xr-xresources/scripts/helpers/build/docs/html-by-section2
-rwxr-xr-xresources/scripts/helpers/build/docs/html-one-page2
-rwxr-xr-xresources/scripts/helpers/build/docs/info2
-rwxr-xr-xresources/scripts/helpers/build/docs/pdf2
-rwxr-xr-xresources/scripts/helpers/build/docs/plaintext2
-rwxr-xr-xresources/scripts/helpers/build/docs/postscript2
-rwxr-xr-xresources/scripts/helpers/build/docs/texinfo-gz2
9 files changed, 8 insertions, 10 deletions
diff --git a/resources/scripts/helpers/build/docs/dvi b/resources/scripts/helpers/build/docs/dvi
index 77ae5900..479b9ced 100755
--- a/resources/scripts/helpers/build/docs/dvi
+++ b/resources/scripts/helpers/build/docs/dvi
@@ -3,7 +3,7 @@
# Libreboot documentation build script: dvi
#
-echo "@set librebootbase `pwd`" > docs/constants.texi
+echo "@set docsdir ../" > docs/constants.texi
basedir="docs/manual/"
outfile="${basedir}libreboot.dvi"
diff --git a/resources/scripts/helpers/build/docs/html b/resources/scripts/helpers/build/docs/html
index e2a88978..897143ea 100755
--- a/resources/scripts/helpers/build/docs/html
+++ b/resources/scripts/helpers/build/docs/html
@@ -8,7 +8,7 @@
# './build docs html' is short for ./build docs html-by-node
# name the output accordingly for clarity
-echo "@set librebootbase `pwd`" > docs/constants.texi
+echo "@set docsdir ../../" > docs/constants.texi
basefile="`basename "$0"`-by-node"
basedir="docs/manual/"
diff --git a/resources/scripts/helpers/build/docs/html-by-section b/resources/scripts/helpers/build/docs/html-by-section
index c5795c1c..262d7fbe 100755
--- a/resources/scripts/helpers/build/docs/html-by-section
+++ b/resources/scripts/helpers/build/docs/html-by-section
@@ -6,7 +6,7 @@
# not display images correctly
#
-echo "@set librebootbase `pwd`" > docs/constants.texi
+echo "@set docsdir ../../" > docs/constants.texi
basefile=`basename "$0"`
basedir="docs/manual/"
diff --git a/resources/scripts/helpers/build/docs/html-one-page b/resources/scripts/helpers/build/docs/html-one-page
index 7c4f0180..ad3140e2 100755
--- a/resources/scripts/helpers/build/docs/html-one-page
+++ b/resources/scripts/helpers/build/docs/html-one-page
@@ -3,7 +3,7 @@
# Libreboot documentation build script: html-one-page
#
-echo "@set librebootbase `pwd`" > docs/constants.texi
+echo "@set docsdir ../" > docs/constants.texi
basefile=`basename "$0"`
basedir="docs/manual/"
diff --git a/resources/scripts/helpers/build/docs/info b/resources/scripts/helpers/build/docs/info
index d3be299b..8a0031a8 100755
--- a/resources/scripts/helpers/build/docs/info
+++ b/resources/scripts/helpers/build/docs/info
@@ -3,7 +3,7 @@
# Libreboot documentation build script: info
#
-echo "@set librebootbase `pwd`" > docs/constants.texi
+echo "@set docsdir ../" > docs/constants.texi
basedir="docs/manual/"
outfile="${basedir}libreboot.info"
diff --git a/resources/scripts/helpers/build/docs/pdf b/resources/scripts/helpers/build/docs/pdf
index c4c2e7c0..b3804787 100755
--- a/resources/scripts/helpers/build/docs/pdf
+++ b/resources/scripts/helpers/build/docs/pdf
@@ -3,7 +3,7 @@
# Libreboot documentation build script: pdf
#
-echo "@set librebootbase `pwd`" > docs/constants.texi
+echo "@set docsdir " > docs/constants.texi
basedir="docs/manual/"
outfile="${basedir}libreboot.pdf"
diff --git a/resources/scripts/helpers/build/docs/plaintext b/resources/scripts/helpers/build/docs/plaintext
index 4f15ff70..a8eef6c5 100755
--- a/resources/scripts/helpers/build/docs/plaintext
+++ b/resources/scripts/helpers/build/docs/plaintext
@@ -3,7 +3,7 @@
# Libreboot documentation build script: plaintext
#
-echo "@set librebootbase `pwd`" > docs/constants.texi
+echo "@set docsdir ../" > docs/constants.texi
basedir="docs/manual/"
outfile="${basedir}libreboot.txt"
diff --git a/resources/scripts/helpers/build/docs/postscript b/resources/scripts/helpers/build/docs/postscript
index eb754e40..896c54b6 100755
--- a/resources/scripts/helpers/build/docs/postscript
+++ b/resources/scripts/helpers/build/docs/postscript
@@ -3,7 +3,7 @@
# Libreboot documentation build script: postscript
#
-echo "@set librebootbase `pwd`" > docs/constants.texi
+echo "@set docsdir ../" > docs/constants.texi
basedir="docs/manual/"
outfile="${basedir}libreboot.ps"
diff --git a/resources/scripts/helpers/build/docs/texinfo-gz b/resources/scripts/helpers/build/docs/texinfo-gz
index aaf88834..7998c331 100755
--- a/resources/scripts/helpers/build/docs/texinfo-gz
+++ b/resources/scripts/helpers/build/docs/texinfo-gz
@@ -3,8 +3,6 @@
# 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"