049691c0d38249e489210e29b55adb6e9df7f6b4 markd Fri Dec 10 08:23:11 2010 -0800 fixed great conf install to not fail when file own by different user diff --git src/hg/hgTables/makefile src/hg/hgTables/makefile index 5c57424..36ae618 100644 --- src/hg/hgTables/makefile +++ src/hg/hgTables/makefile @@ -1,86 +1,88 @@ include ../../inc/common.mk L += -lm ${MYSQLLIBS} MYLIBDIR = ../../lib/${MACHTYPE} MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a A = hgTables T = tstbug.o O = $A.o asObj.o bedList.o bigBed.o bigWig.o chromGraph.o compositeTrack.o custom.o filterFields.o \ gffOut.o identifiers.o intersect.o correlate.o correlatePlot.o \ joining.o maf.o mainPage.o microarrayTables.o rangeHistogram.o schema.o pal.o \ seqOut.o sumStats.o usage.o wiggle.o wikiTrack.o galaxy.o great.o userRegions.o include ../../inc/cgi_build_rules.mk +rsyncDataOpts = --times --recursive --executability --omit-dir-times --cvs-exclude --delete + my:: rm -f ${CGI_BIN}-${USER}/all.joiner cp ../makeDb/schema/all.joiner ${CGI_BIN}-${USER} - rsync -ar --exclude=CVS/ --exclude=.svn/ --delete greatData ${CGI_BIN}-${USER}/ + rsync ${rsyncDataOpts} greatData ${CGI_BIN}-${USER}/ chmod -R a+rX ${CGI_BIN}-${USER}/greatData chmod a+r ${CGI_BIN}-${USER}/all.joiner chmod g+w ${CGI_BIN}-${USER}/all.joiner alpha:: rm -f ${CGI_BIN}/all.joiner cp ../makeDb/schema/all.joiner ${CGI_BIN} - rsync -ar --exclude=CVS/ --exclude=.svn/ --delete greatData ${CGI_BIN}/ + rsync ${rsyncDataOpts} greatData ${CGI_BIN}/ chmod -R a+rX ${CGI_BIN}/greatData chmod a+r ${CGI_BIN}/all.joiner chmod g+w ${CGI_BIN}/all.joiner beta:: rm -f ${CGI_BIN}-beta/all.joiner cp ../makeDb/schema/all.joiner ${CGI_BIN}-beta - rsync -ar --exclude=CVS/ --exclude=.svn/ --delete greatData ${CGI_BIN}-beta/ + rsync ${rsyncDataOpts} greatData ${CGI_BIN}-beta/ chmod -R a+rX ${CGI_BIN}-beta/greatData chmod a+r ${CGI_BIN}-beta/all.joiner chmod g+w ${CGI_BIN}-beta/all.joiner install:: rm -f ${DESTDIR}${CGI_BIN}/all.joiner cp ../makeDb/schema/all.joiner ${DESTDIR}${CGI_BIN} - rsync -ar --exclude=CVS/ --exclude=.svn/ --delete greatData ${DESTDIR}${CGI_BIN}/ + rsync ${rsyncDataOpts} greatData ${DESTDIR}${CGI_BIN}/ chmod -R a+rX ${DESTDIR}${CGI_BIN}/greatData chmod a+r ${DESTDIR}${CGI_BIN}/all.joiner chmod g+w ${DESTDIR}${CGI_BIN}/all.joiner compile: $O ${CC} -g $O ${MYLIBS} ${L} mv ${AOUT} $A${EXE} # all objects depend on hgTables.h asObj.o: hgTables.h bedList.o: hgTables.h correlate.h bigWig.o: hgTables.h custom.o: hgTables.h compositeTrack.o: hgTables.h filterFields.o: hgTables.h galaxy.o: hgTables.h gffOut.o: hgTables.h great.o: hgTables.h hgTables.o: hgTables.h identifiers.o: hgTables.h intersect.o: hgTables.h javascript.o: hgTables.h joining.o: hgTables.h maf.o: hgTables.h mainPage.o: hgTables.h rangeHistogram.o: hgTables.h schema.o: hgTables.h seqOut.o: hgTables.h sumStats.o: hgTables.h usage.o: hgTables.h wiggle.o: hgTables.h correlate.h correlate.o: hgTables.h correlate.h correlatePlot.o: hgTables.h correlate.h compiletest: $T ${CC} -Wall $T ${MYLIBS} ${L} compileLists: listFiles.o ${CC} -Wall listFiles.o ${MYLIBS} ${L}