177f7f5fdcb1a5ccff09411a95531e819bc3ec33
angie
  Mon Mar 16 16:08:53 2015 -0700
Fixing a makefile's assumption that /gbdb/hg19/beacon exists.

diff --git src/hg/hgBeacon/makefile src/hg/hgBeacon/makefile
index de1824d..6c3e3f2 100644
--- src/hg/hgBeacon/makefile
+++ src/hg/hgBeacon/makefile
@@ -1,37 +1,39 @@
 include ../../inc/common.mk
 
 #cannot use common include rules, don't know how to overwrite :: targets
 #include ../../inc/cgi_build_rules.mk
 
 ifeq (${CGI_BIN_USER},)
     CGI_BIN_USER=${CGI_BIN}-${USER}
 endif
 
 ifeq (${CGI_BIN_BETA},)
     CGI_BIN_BETA=${CGI_BIN}-beta
 endif
 
 PATH:=$(PATH):/cluster/software/bin
 
 my::
 	rm -f ${CGI_BIN_USER}/hgBeacon
 	cp -p hgBeacon ${CGI_BIN_USER}/
 	mkdir -p ${CGI_BIN_USER}/beacon2
 	ln -sf ${CGI_BIN_USER}/hgBeacon ${CGI_BIN_USER}/beacon2/info
 	ln -sf ${CGI_BIN_USER}/hgBeacon ${CGI_BIN_USER}/beacon2/query
-	cp help.txt /gbdb/hg19/beacon/
+	@if test -d /gbdb/hg19/beacon; then \
+	  cp help.txt /gbdb/hg19/beacon/; \
+	fi
 	cp testBeacon ${DESTDIR}${BINDIR}/
 beta::
 	rm -f ${CGI_BIN_BETA}/hgBeacon
 	cp -p hgBeacon ${CGI_BIN_BETA}/
 alpha::
 	rm -f ${CGI_BIN}/hgBeacon
 	cp -p hgBeacon ${CGI_BIN}/
 lint:
 	pylint -E --rcfile=pylint.rc hgBeacon
 clean::
 
 compile::
 
 install::