@@ -17,6 +17,10 @@ WIN_CONTRIB="$REPOS_ROOT/bin/windows/contrib/$R_VERSION"
17
17
MAC_BIG_SUR_x86_64_CONTRIB=" $REPOS_ROOT /bin/macosx/big-sur-x86_64/contrib/$R_VERSION "
18
18
MAC_BIG_SUR_arm64_CONTRIB=" $REPOS_ROOT /bin/macosx/big-sur-arm64/contrib/$R_VERSION "
19
19
20
+ META_SRC=" $SRC_CONTRIB /Meta"
21
+ META_R_EXPR=" source('/home/biocbuild/BBS/utils/makeMetaDbs.R')"
22
+ MEAT_PATH=" /home/biocbuild/bbs-$BIOC_VERSION -bioc/meat"
23
+
20
24
if [ ! -f " $PROPAGATION_DB_FILE " ]; then
21
25
echo " ERROR: $PROPAGATION_DB_FILE not found. Did postrun.sh run?"
22
26
exit 1
@@ -58,6 +62,17 @@ update_repo "$MAC_BIG_SUR_arm64_CONTRIB" "mac.binary.big-sur-arm64" "tgz"
58
62
59
63
echo " "
60
64
65
+ echo " "
66
+ echo " ========================================================================"
67
+ /bin/date
68
+ echo " ------------------------------------------------------------------------"
69
+
70
+ echo " Updating $META_SRC with aliases and cross refences dbs..."
71
+ $Rscript -e " $META_R_EXPR ; try(makeMetaDbs('$PROPAGATION_DB_FILE ', '$MEAT_PATH ', '$REPOS_ROOT ', '$META_SRC '))"
72
+
73
+ echo " "
74
+
75
+
61
76
# # FIXME: Why aren't manuals propagated based on the same criteria as source
62
77
# # packages? Looks like the former are propagated based on their timestamps
63
78
# # only (see below) while for source packages we use the more refined
@@ -68,7 +83,7 @@ MANUALS_DEST="$REPOS_ROOT/manuals"
68
83
MANUALS_SRC=" $BBS_OUTGOING_DIR /manuals"
69
84
echo " Updating $BIOC_VERSION /bioc repo with reference manuals..."
70
85
for i in ` ls $MANUALS_SRC ` ; do
71
- pkg=` echo $i | awk ' {split($0,a,".pdf"); print(a[1])}' `
86
+ pkg=` echo $i | awk ' {split($0,a,".(html| pdf) "); print(a[1])}' `
72
87
mkdir -p $MANUALS_DEST /$pkg /man
73
88
cp --update --verbose $MANUALS_SRC /$i $MANUALS_DEST /$pkg /man
74
89
done
0 commit comments