src/hg/makefile 1.151

1.151 2009/06/09 17:56:06 markd
only build encodeValidate on hgwdev/hgwbeta
Index: src/hg/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/makefile,v
retrieving revision 1.150
retrieving revision 1.151
diff -b -B -U 4 -r1.150 -r1.151
--- src/hg/makefile	29 Apr 2009 23:21:57 -0000	1.150
+++ src/hg/makefile	9 Jun 2009 17:56:06 -0000	1.151
@@ -12,9 +12,12 @@
 	makeDb/hgCgiData js
 
 BROWSER_LOADERS = makeDb/hgLoadBed makeDb/hgLoadWiggle makeDb/hgLoadMaf
 
-ENCODE_FILES = encode/encodeValidate
+ifneq ($(findstring $(shell hostname),hgwdev hgwbeta),)
+    ENCODE_FILES = encode/encodeValidate
+endif
+
 
 TEST_DIRS = lib autoDtd autoSql blastToPsl checkTableCoords embossToPsl \
             genePredSingleCover genePredHisto genePredToGtf \
 	    genePredToMafFrames gbGetEntries hgGetAnn liftAcross \
@@ -216,10 +219,9 @@
 
 # Build cgi's
 #   cgi: Destination for the binaries is /usr/local/apache/cgi-bin-${USER}
 
-cgi: ${BROWSER_BINS:%=%.bins} ${BROWSER_LOADERS:%=%.cgi}
-	( cd encode/encodeValidate && $(MAKE) cgi)
+cgi: ${BROWSER_BINS:%=%.bins} ${BROWSER_LOADERS:%=%.cgi} ${BROWSER_LOADERS:%=%.cgi} ${ENCODE_FILES:%=%.cgi}
 %.bins: hgLib
 	( cd $* && echo $* && $(MAKE) )
 %.cgi: hgLib
 	( cd $* && echo $* && $(MAKE) cgi)