ec576d8762ce7994a38c6adeac8920e6d4d8cddf
hiram
  Mon Jan 25 16:21:14 2021 -0800
add the hub index pages to the sendDownload push rule refs #23891

diff --git src/hg/makeDb/doc/asmHubs/asmHubs.mk src/hg/makeDb/doc/asmHubs/asmHubs.mk
index 8d5da7f..3b23af5 100644
--- src/hg/makeDb/doc/asmHubs/asmHubs.mk
+++ src/hg/makeDb/doc/asmHubs/asmHubs.mk
@@ -47,15 +47,22 @@
 
 # all hubs have the same set of groups, no need for any name customization
 groupsTxt:
 	rm -f ${destDir}/groups.txt
 	cp -p ${toolsDir}/groups.txt ${destDir}/groups.txt
 
 clean::
 	rm -f ${destDir}/${hubFile}.txt
 	rm -f ${destDir}/${testHubFile}.txt
 	rm -f ${destDir}/groups.txt
 	rm -f ${destDir}/${genomesTxt}.txt
 	rm -f ${destDir}/${indexName}.html
 	rm -f ${destDir}/${testIndexName}.html
 	rm -f ${destDir}/${statsName}.html
 	rm -f ${destDir}/${testStatsName}.html
+
+sendDownload::
+	${toolsDir}/mkSendList.pl ${orderList} | while read F; do \
+	  ${toolsDir}/sendToHgdownload.sh $$F < /dev/null; done
+	rsync -L -a -P --exclude 'test*' \
+	    /usr/local/apache/htdocs-hgdownload/hubs/${name}/ \
+		qateam@hgdownload:/mirrordata/hubs/${name}/