e44f7a936fe2829d091d8336eb7bcd6ed72985d4
hiram
  Thu May 23 16:34:56 2013 -0700
construct the kentUtils.Documentation.txt from the commands usage messages refs #9104
diff --git src/userApps/Makefile src/userApps/Makefile
index f3e0b5d..ba444d1 100644
--- src/userApps/Makefile
+++ src/userApps/Makefile
@@ -1,40 +1,41 @@
 #  Makefile for userApps project
 #  performs the operations of fetching selected directories from
 #  the kent source tree using 'git' and then building the utilities
 #  in the kent source tree.  All build results will be kept locally
 #  in this directory.
 
 DESTDIR = ${CURDIR}
 BINDIR = /bin
 MACHTYPE = local
 CGI_BIN = ${DESTDIR}/cgi-bin
 DOCUMENTROOT = ${DESTDIR}/htdocs
 SCRIPTS = ${DESTDIR}/scripts
 SAMTABIXDIR = ${DESTDIR}/samtabix
 USE_SAMTABIX = 1
 USE_SSL = 1
 NOSQLTEST = 1
 
 envVars = DESTDIR=${DESTDIR} BINDIR=${BINDIR} MACHTYPE=${MACHTYPE} \
 	CGI_BIN=${CGI_BIN} DOCUMENTROOT=${DOCUMENTROOT} SCRIPTS=${SCRIPTS} \
 	SAMTABIXDIR=${SAMTABIXDIR} USE_SAMTABIX=1 USE_SSL=1 NOSQLTEST=1
 
 all:  fetchSource libs utils
 
 utils:
 	cd kent/src && ${envVars} ${MAKE} userApps
 	cd kent/src/parasol && ${envVars} ${MAKE}
+	./kent/src/utils/userApps/mkREADME.sh ${DESTDIR}/${BINDIR} ${CURDIR}/kentUtils.Documentation.txt
 
 libs:
 	cd samtabix && ${envVars} ${MAKE}
 	cd kent/src && ${envVars} ${MAKE} libs
 
 clean:
 	cd kent/src && ${envVars} ${MAKE} clean
 
 fetchSource:
 	./fetchKentSource.sh
 	@echo -n "size of fetched kent source tree: "
 	@du -hs kent
 	@echo -n "number of files in kent source tree: "
 	@find ./kent -type f | wc -l