Skip to content

Commit 2c03083

Browse files
committed
contrib/dist/pubish_doc: further improve jquery.js
We'll use a common jquery.js that points to the latest one. Followup to hwloc commit d94bca7 and ompi-www commit cb8ca644a0839948874570a4aedbbaf8fa18ecca Signed-off-by: Brice Goglin <[email protected]>
1 parent f76a7cc commit 2c03083

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

contrib/dist/publish_doc

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@ else if ! test -d doc/www.open-mpi.org/html/; then
5454
exit 1
5555
fi fi fi
5656

57-
jquerydir="$dst/../../../includes/"
58-
jquery=$(cd "$jquerydir" && ls --sort=time jquery-*.js | head -1)
59-
if test x$jquery = x; then
60-
echo "ERROR: jquery*.js not found in $jquerydir"
61-
exit 1
62-
fi
63-
6457
echo "Installing hwloc-v${VERSION}-a4.pdf ..."
6558
cp -f doc/doxygen-doc/hwloc-a4.pdf "$dst/hwloc-v${VERSION}-a4.pdf"
6659

@@ -71,9 +64,9 @@ echo "Installing v${VERSION}/ HTML directory ..."
7164
rsync -avz doc/www.open-mpi.org*inc doc/www.open-mpi.org/html/ "$dst/v${VERSION}/"
7265

7366
echo
74-
echo "Replacing jquery.js with the common $jquery ..."
67+
echo "Replacing jquery.js with the common one ..."
7568
rm -f "$dst/v${VERSION}/jquery.js"
76-
ln -sf ../../../../includes/$jquery "$dst/v${VERSION}/jquery.js"
69+
ln -sf ../../../../includes/jquery.js "$dst/v${VERSION}/jquery.js"
7770

7871
echo
7972
cd "$dst/v${VERSION}/"

0 commit comments

Comments
 (0)