src/hg/makeDb/trackDb/makefile 1.280
1.280 2009/11/25 18:01:02 hiram
remove obsolete ponAbe1 and rn5 and add a listDbs target
Index: src/hg/makeDb/trackDb/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/makeDb/trackDb/makefile,v
retrieving revision 1.279
retrieving revision 1.280
diff -b -B -U 4 -r1.279 -r1.280
--- src/hg/makeDb/trackDb/makefile 24 Nov 2009 22:06:52 -0000 1.279
+++ src/hg/makeDb/trackDb/makefile 25 Nov 2009 18:01:02 -0000 1.280
@@ -29,18 +29,18 @@
DBS = hg16 hg17 hg18 hg19 hg19Haps \
venter1 \
panTro1 panTro2 \
gorGor1 gorGor2 \
- ponAbe1 ponAbe2 \
+ ponAbe2 \
rheMac2 \
papHam1 \
macEug1 \
calJac1 \
otoGar1 tupBel1\
canFam1 canFam2 canFamPoodle1 \
felCat3 \
mm6 mm7 mm8 mm9 \
- rn3 rn4 rn5 \
+ rn3 rn4 \
speTri1 cavPor3 \
oryCun1 oryCun2 \
bosTau2 bosTau3 bosTau4 \
equCab1 \
@@ -122,8 +122,17 @@
${CVS} status trackDb.ra | egrep 'v[0-9]+_branch' > /dev/null
beta: checkbeta clean strict
+listDbs:
+ @echo "# databases listed in trackDb/makefile DBS variable, with table counts"
+ @for D in ${DBS}; do \
+ C=`hgsql -N -e "show tables;" $${D} 2> /dev/null | wc -l`; \
+ if [ "$${C}" -gt 0 ]; then \
+ echo -e "$${D}\t$${C}"; \
+ fi \
+ done
+
# Get rid of symbolic links (created by lower-level makefiles):
clean:
find . -type l -exec rm {} \;