Skip to content

Commit 7ec294d

Browse files
committed
the Makefile can not function on its own, it is part of a git project
1 parent 529da6b commit 7ec294d

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

Makefile

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,17 @@ utils: libs
2222
cd src/parasol && ${MAKE}
2323
./src/utils/userApps/mkREADME.sh ${DESTDIR}/${BINDIR} ${CURDIR}/kentUtils.Documentation.txt
2424

25-
libs: installEnvironment
25+
libs: fetchSamtabix installEnvironment
2626
cd samtabix && ${MAKE}
2727
cd src && ${MAKE} libs
2828

2929
clean:
3030
test ! -d src || (cd src && ${MAKE} -i -k clean)
31-
32-
fetchSource:
3331
rm -fr samtabix
34-
/bin/echo "fetch samtabix" 1>&2
35-
git clone http://genome-source.cse.ucsc.edu/samtabix.git samtabix > /dev/null 2>&1
36-
test -d .git || git clone https://github.com/ENCODE-DCC/kentUtils.git .
37-
@/bin/echo -n "size of fetched kent source tree: "
38-
@du -hs src
39-
@/bin/echo -n "number of files in kent source tree: "
40-
@find ./src -type f | wc -l
32+
33+
fetchSamtabix:
34+
test -d samtabix || /bin/echo "git clone fetch samtabix" 1>&2
35+
test -d samtabix || git clone http://genome-source.cse.ucsc.edu/samtabix.git samtabix
4136

4237
# this installEnvironment will add all the shell environment variables
4338
# to the src/inc/localEnvironment.mk file which is included
@@ -47,7 +42,7 @@ fetchSource:
4742
# recognize the '-e' argument
4843

4944
installEnvironment:
50-
@/bin/echo -e "export DESTDIR = ${DESTDIR}\n\
45+
@echo -e "export DESTDIR = ${DESTDIR}\n\
5146
export BINDIR = ${BINDIR}\n\
5247
export MACHTYPE = ${MACHTYPE}\n\
5348
export CGI_BIN = ${CGI_BIN}\n\

0 commit comments

Comments
 (0)