src/hg/autoSql/makefile 1.17

1.17 2009/07/08 18:42:14 markd
fixed install rule to preserve permissions
Index: src/hg/autoSql/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/autoSql/makefile,v
retrieving revision 1.16
retrieving revision 1.17
diff -b -B -U 4 -r1.16 -r1.17
--- src/hg/autoSql/makefile	4 Jul 2009 04:45:29 -0000	1.16
+++ src/hg/autoSql/makefile	8 Jul 2009 18:42:14 -0000	1.17
@@ -10,9 +10,10 @@
 
 all: ${BINDIR}/autoSql
 
 ${BINDIR}/autoSql: autoSql
-	cp -f autoSql ${BINDIR}
+	rm -f $@
+	cp -p $< $@
 
 autoSql: ${O}
 	${CC} ${COPT} -o autoSql $O ../../lib/${MACHTYPE}/jkweb.a ${L}