src/hg/encode/validateFiles/makefile 1.4

1.4 2009/10/15 19:15:27 hiram
Must use DESTDIR with BINDIR to be sane
Index: src/hg/encode/validateFiles/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/validateFiles/makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 1000000 -r1.3 -r1.4
--- src/hg/encode/validateFiles/makefile	4 Sep 2009 17:16:44 -0000	1.3
+++ src/hg/encode/validateFiles/makefile	15 Oct 2009 19:15:27 -0000	1.4
@@ -1,22 +1,22 @@
 include ../../../inc/common.mk
 
 L += $(MYSQLLIBS) -lm
 MYLIBDIR = ../../../lib/${MACHTYPE}
 MYLIBS =  $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a
 
 O = validateFiles.o
 
 validateFiles: $O ${MYLIBS}
-	${CC} ${COPT} -o ${BINDIR}/validateFiles $O ${MYLIBS} $L
-	${STRIP} ${BINDIR}/validateFiles${EXE}
+	${CC} ${COPT} -o ${DESTDIR}${BINDIR}/validateFiles $O ${MYLIBS} $L
+	${STRIP} ${DESTDIR}${BINDIR}/validateFiles${EXE}
 
 clean:
 	rm -f $O
 
 test: 	validateFiles
 	rm -rf output
 	mkdir output
 	-validateFiles -type=tagAlign -genome=/cluster/data/hg18/hg18.2bit  tests/test1.txt > output/test1.out  2>&1 
 	cmp output/test1.out tests/test1.right.txt
 	-validateFiles -nMatch -type=tagAlign -genome=/cluster/data/hg18/hg18.2bit  tests/test2.txt > output/test2.out  2>&1 
 	cmp output/test2.out tests/test2.right.txt