src/hg/makeDb/genbank/makefile 1.16

1.16 2009/09/15 06:52:28 markd
added scripts for auto update lsSnpPdb
Index: src/hg/makeDb/genbank/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/makeDb/genbank/makefile,v
retrieving revision 1.15
retrieving revision 1.16
diff -b -B -U 4 -r1.15 -r1.16
--- src/hg/makeDb/genbank/makefile	25 Jun 2009 07:03:52 -0000	1.15
+++ src/hg/makeDb/genbank/makefile	15 Sep 2009 06:52:28 -0000	1.16
@@ -16,9 +16,9 @@
 
 install-server: all
 	${MAKE} install PREFIX=/cluster/data/genbank
 
-install-rr: ${GB_BINARCH}/hgsql all
+install-rr: ${GB_BINARCH}/hgsql ${GB_BINARCH}/hgLsSnpPdbLoad all
 	${MAKE} install PREFIX=/genbank
 
 etc-update:
 	${MAKE} install-etc PREFIX=/cluster/data/genbank
@@ -46,8 +46,13 @@
 hgsqlSrcDir = ../../hgsql
 ${GB_BINARCH}/hgsql: ${hgsqlSrcDir}/hgsql.c
 	${CC} ${CFLAGS} -o $@ $< $(LIBS)
 
+# need a copy of hgLsSnpPdbLoad for rr
+hgLsSnpPdbLoadSrcDir = ../outside/hgLsSnpPdbLoad
+${GB_BINARCH}/hgLsSnpPdbLoad: ${hgLsSnpPdbLoadSrcDir}/hgLsSnpPdbLoad.c
+	${CC} ${CFLAGS} -o $@ $< $(LIBS)
+
 # build emacs tags for all files
 .PHONY: etags-all
 etags-all:
 	find . -name '*.[ch]' | etags -