summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-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 77ae590..479b9ce 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 e2a8897..897143e 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 c5795c1..262d7fb 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 7c4f018..ad3140e 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 d3be299..8a0031a 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 c4c2e7c..b380478 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 4f15ff7..a8eef6c 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 eb754e4..896c54b 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 aaf8883..7998c33 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"