Skip to content

Commit cce1400

Browse files
committed
Pass ASCIIDOC8=YesPlease to Meta/Make and dodoc.sh as needed
1 parent 3af0e67 commit cce1400

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

DoKernelOrg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ make clean >/dev/null 2>&1 &&
1717
git checkout master &&
1818
make clean >/dev/null 2>&1 &&
1919

20+
case "$(asciidoc --version 2>&1)" in
21+
asciidoc' 8'.*)
22+
ASCIIDOC8=YesPlease
23+
export ASCIIDOC8 ;;
24+
esac
25+
2026
case "$1" in
2127
'')
2228
echo "* Building all"

Make

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ sh -c 'git describe --abbrev=4 HEAD' >/dev/null 2>&1 || {
8181
$GIT describe --abbrev=4 HEAD | sed -e 's/-/./g' >version
8282
}
8383

84+
case "$(asciidoc --version 2>&1)" in
85+
asciidoc' 8'.*)
86+
ASCIIDOC8=YesPlease
87+
export ASCIIDOC8 ;;
88+
esac
89+
8490
CFLAGS="$O $Wall -Wdeclaration-after-statement -g"
8591

8692
make $d \

dodoc.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ do
7171
rm -fr doc-$type-inst
7272
done
7373

74+
case "$(asciidoc --version 2>&1)" in
75+
asciidoc' 8'.*)
76+
ASCIIDOC8=YesPlease
77+
export ASCIIDOC8 ;;
78+
esac
79+
7480
make >./:html.log 2>&1 \
7581
-C Documentation -j 2 \
7682
WEBDOC_DEST="$DOCREPO/doc-html-inst" install-webdoc || exit

0 commit comments

Comments
 (0)