src/hg/visiGene/vgPrepImage/makefile 1.7

1.7 2010/02/27 00:12:36 angie
Adding dependencies to install targets to avoid race conditions when using make -j (parallel).
Index: src/hg/visiGene/vgPrepImage/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/visiGene/vgPrepImage/makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -B -U 4 -r1.6 -r1.7
--- src/hg/visiGene/vgPrepImage/makefile	28 Jan 2010 00:24:47 -0000	1.6
+++ src/hg/visiGene/vgPrepImage/makefile	27 Feb 2010 00:12:36 -0000	1.7
@@ -26,9 +26,9 @@
 ${A}: $O ${MYLIBS}
 	${LINK} ${COPT} -o ${BINDIR}/${A} $O ${MYLIBS} $L
 	strip ${BINDIR}/${A}
 
-install:
+install: ${BINDIR}/${A}
 	cp ${BINDIR}/${A} /cluster/bin/${MACHTYPE}/
 
 example:
 	vgPrepImage /san/sanvol1/visiGene/offline/allenBrain/imageDisk \