a9997905a102b21b35fc9f2158d5609eb5399039
tdreszer
  Thu Jun 23 10:42:37 2011 -0700
Make sure sandboxes get static js files at root of htdocs-{sandbox}/js dir
diff --git src/hg/js/makefile src/hg/js/makefile
index 5eefcd0..f515fe5 100644
--- src/hg/js/makefile
+++ src/hg/js/makefile
@@ -1,28 +1,30 @@
 include ../../inc/common.mk
 
 # recursive target to do install to DEST, with extra excludes EXCL.
 
 JQUERY_FILES=jquery-1.2.6.pack.js jquery.js jquery.tablednd.js jquery.imgareaselect.js jquery-ui.js jquery.contextmenu.js jquery.autocomplete.js ui.core.js ui.dropdownchecklist.js
 JS_FILES=ajax.js autocomplete.js hgGateway.js hgTracks.js hui.js utils.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/${USER}; \
+		cp ${STATIC_FILES} ${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
 
 clean:
 
 compile: