@@ -17,6 +17,10 @@ WIN_CONTRIB="$REPOS_ROOT/bin/windows/contrib/$R_VERSION"
1717MAC_BIG_SUR_x86_64_CONTRIB=" $REPOS_ROOT /bin/macosx/big-sur-x86_64/contrib/$R_VERSION "
1818MAC_BIG_SUR_arm64_CONTRIB=" $REPOS_ROOT /bin/macosx/big-sur-arm64/contrib/$R_VERSION "
1919
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+
2024if [ ! -f " $PROPAGATION_DB_FILE " ]; then
2125 echo " ERROR: $PROPAGATION_DB_FILE not found. Did postrun.sh run?"
2226 exit 1
@@ -58,6 +62,17 @@ update_repo "$MAC_BIG_SUR_arm64_CONTRIB" "mac.binary.big-sur-arm64" "tgz"
5862
5963echo " "
6064
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+
6176# # FIXME: Why aren't manuals propagated based on the same criteria as source
6277# # packages? Looks like the former are propagated based on their timestamps
6378# # only (see below) while for source packages we use the more refined
@@ -68,7 +83,7 @@ MANUALS_DEST="$REPOS_ROOT/manuals"
6883MANUALS_SRC=" $BBS_OUTGOING_DIR /manuals"
6984echo " Updating $BIOC_VERSION /bioc repo with reference manuals..."
7085for 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])}' `
7287 mkdir -p $MANUALS_DEST /$pkg /man
7388 cp --update --verbose $MANUALS_SRC /$i $MANUALS_DEST /$pkg /man
7489done
0 commit comments