1a711580a80676e1fff181ccc13c4cccd38c9891
max
  Mon Oct 12 04:13:08 2020 -0700
adding a user log to cgi-alpha and cgi-beta targets. Email with Lou, after a problem on hgwdev possibly caused by myself. No redmine.

diff --git src/inc/common.mk src/inc/common.mk
index c16be79..ef40b14 100644
--- src/inc/common.mk
+++ src/inc/common.mk
@@ -369,30 +369,37 @@
     SCRIPTS=${HOME}/bin/scripts
 endif
 ifeq (${CGI_BIN},)
     CGI_BIN=/usr/local/apache/cgi-bin
 endif
 ifeq (${DOCUMENTROOT},)
     DOCUMENTROOT=/usr/local/apache/htdocs
 endif
 ifeq (${BINDIR},)
     BINDIR = ${HOME}/bin/${MACHTYPE}
 endif
 ifeq (${ENCODE_PIPELINE_BIN},)
     ENCODE_PIPELINE_BIN=/cluster/data/encode/pipeline/bin
 endif
 
+# This is used by cgi-alpha and cgi-beta to keep a log files with "who built what when".
+# The file can be useful when debugging problems on the alpha and beta builds.
+logUser:
+ifeq (${IS_HGWDEV},yes)
+	echo ${USER}, $(MAKECMDGOALS), `date` >> ${CGI_BIN}/buildLog.txt
+endif
+
 # avoid an extra leading slash when DESTDIR is empty
 ifeq (${DESTDIR},)
   DESTBINDIR=${BINDIR}
 else
   DESTBINDIR=${DESTDIR}/${BINDIR}
 endif
 
 # location of stringify program
 STRINGIFY = ${DESTBINDIR}/stringify
 
 MKDIR=mkdir -p
 ifeq (${STRIP},)
    STRIP=true
 endif
 CVS=cvs