src/utils/userApps/makefile 1.2

1.2 2009/03/26 20:18:41 hiram
updated to use DESTDIR and BINDIR
Index: src/utils/userApps/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/userApps/makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -B -U 1000000 -r1.1 -r1.2
--- src/utils/userApps/makefile	26 Mar 2009 19:04:17 -0000	1.1
+++ src/utils/userApps/makefile	26 Mar 2009 20:18:41 -0000	1.2
@@ -1,11 +1,17 @@
 include ../../inc/common.mk
 
 INST_LIST = fetchChromSizes
 
 all::
 	@${MKDIR} "${DESTDIR}${BINDIR}"
 	@for P in ${INST_LIST}; do \
-	    ( rm -f "${DESTDIR}${BINDIR}/$${P}" && cp -p $${P} "${DESTDIR}${BINDIR}" && echo "installed $${P}" ) ; \
+	    ( rm -f "${DESTDIR}${BINDIR}/$${P}" && \
+		cp -p $${P} "${DESTDIR}${BINDIR}" && \
+		chmod +x "${DESTDIR}${BINDIR}/$${P}" && \
+		echo "installed ${DESTDIR}${BINDIR}/$${P}" ) ; \
 	done
 
+clean::
+	@echo "nothing to clean in userApps"
+
 # "$Id$"