File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,13 @@ else if ! test -d doc/www.open-mpi.org/html/; then
54
54
exit 1
55
55
fi fi fi
56
56
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
+
57
64
echo " Installing hwloc-v${VERSION} -a4.pdf ..."
58
65
cp -f doc/doxygen-doc/hwloc-a4.pdf " $dst /hwloc-v${VERSION} -a4.pdf"
59
66
@@ -63,6 +70,11 @@ cp -f doc/doxygen-doc/hwloc-letter.pdf "$dst/hwloc-v${VERSION}-letter.pdf"
63
70
echo " Installing v${VERSION} / HTML directory ..."
64
71
rsync -avz doc/www.open-mpi.org* inc doc/www.open-mpi.org/html/ " $dst /v${VERSION} /"
65
72
73
+ echo
74
+ echo " Replacing jquery.js with the common $jquery ..."
75
+ rm -f " $dst /v${VERSION} /jquery.js"
76
+ ln -sf ../../../../includes/$jquery " $dst /v${VERSION} /jquery.js"
77
+
66
78
echo
67
79
cd " $dst /v${VERSION} /"
68
80
echo " Looking for main page links:"
You can’t perform that action at this time.
0 commit comments