584b419ec866ce8597949155e328d549f95948a0 braney Fri Jul 26 17:23:01 2013 -0700 changes to facilitate beta builds on dev. Appropriating beta target, and assuming that USER=beta exists on dev. diff --git src/hg/js/makefile src/hg/js/makefile index ef48538..582a896 100644 --- src/hg/js/makefile +++ src/hg/js/makefile @@ -1,51 +1,51 @@ include ../../inc/common.mk # recursive target to do install to DEST, with extra excludes EXCL. JQUERY_FILES=jquery.js jquery.tablednd.js \ jquery.imgareaselect.js jquery-ui.js jquery.contextmenu.js \ ui.dropdownchecklist.js \ jquery.cookie.js jquery.watermarkinput.js \ jquery.floatheader.js jquery.rotateTableCellContent.js jquery.plugins.js \ jquery.validate.min.js JS_FILES=ajax.js alleles.js autocomplete.js edwPersona.js \ hgCustom.js hgGateway.js hgHubConnect.js hgTracks.js \ hgVarAnnogrator.js hui.js utils.js ddcl.js subCfg.js \ encodeProject.js encodeDataSummary.js encodeDataMatrix.js encodeChipMatrix.js encodeMatrix.js \ ${JQUERY_FILES} STATIC_FILES=staticDoc.js jquery.js ifdef LOWELAB JS_FILES += lowetooltip.js loweautocomplete.js endif user: if test -d ${DOCUMENTROOT}-${USER}; then \ ${MAKE} doInstall DEST=${DOCUMENTROOT}-${USER}/js; \ else \ ${MAKE} doInstall DEST=${DOCUMENTROOT}/js/${USER}; \ fi alpha: ${GITUP} ${MAKE} doInstall DEST=${DOCUMENTROOT}/js beta: ${GITUP} - ${MAKE} doInstall DEST=${DOCUMENTROOT}/js + ${MAKE} doInstall DEST=${DOCUMENTROOT}-beta/js extra=-forceVersionNumbers clean: compile: install: ${MAKE} doInstall DEST=${DOCUMENTROOT}/js doInstall: @mkdir -p ${DEST}/ - ../utils/cpAndLinkToResourceFiles.pl -exclude='makefile' -versionFile=../inc/versionInfo.h -destDir=${DEST} ${JS_FILES} + ../utils/cpAndLinkToResourceFiles.pl ${extra} -exclude='makefile' -versionFile=../inc/versionInfo.h -destDir=${DEST} ${JS_FILES} for file in ${STATIC_FILES}; do \ cp -p --update $$file ${DEST}; \ done