Skip to content

Commit

Permalink
don't switch make program for subprojects
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Feb 23, 2012
1 parent 77b54aa commit 37010c3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions posix.mak
Expand Up @@ -190,21 +190,21 @@ ${DMD_DIR}.${LATEST}/src/dmd :
[ -d ${DMD_DIR}.${LATEST} ] || \
git clone ${GIT_HOME}/dmd ${DMD_DIR}.${LATEST}/
cd ${DMD_DIR}.${LATEST} && git checkout v${LATEST}
make --directory=${DMD_DIR}.${LATEST}/src -f posix.mak clean
make --directory=${DMD_DIR}.${LATEST}/src -f posix.mak -j 4
${MAKE} --directory=${DMD_DIR}.${LATEST}/src -f posix.mak clean
${MAKE} --directory=${DMD_DIR}.${LATEST}/src -f posix.mak -j 4

${DMD_DIR}/src/dmd :
[ -d ${DMD_DIR} ] || git clone ${GIT_HOME}/dmd ${DMD_DIR}/
make --directory=${DMD_DIR}/src -f posix.mak clean
make --directory=${DMD_DIR}/src -f posix.mak -j 4
${MAKE} --directory=${DMD_DIR}/src -f posix.mak clean
${MAKE} --directory=${DMD_DIR}/src -f posix.mak -j 4

################################################################################
# druntime, latest released build and current build
################################################################################

druntime-prerelease : ${DOC_OUTPUT_DIR}/phobos-prerelease/object.html
${DOC_OUTPUT_DIR}/phobos-prerelease/object.html : ${DMD_DIR}/src/dmd
make --directory=${DRUNTIME_DIR} -f posix.mak \
${MAKE} --directory=${DRUNTIME_DIR} -f posix.mak \
DOCDIR=${DOC_OUTPUT_DIR}/phobos-prerelease \
DOCFMT=../d-programming-language.org/std.ddoc \
doc -j 4
Expand All @@ -214,8 +214,8 @@ ${DOC_OUTPUT_DIR}/phobos/object.html : ${DMD_DIR}.${LATEST}/src/dmd
[ -d ${DRUNTIME_DIR}.${LATEST} ] || \
git clone ${GIT_HOME}/druntime ${DRUNTIME_DIR}.${LATEST}/
cd ${DRUNTIME_DIR}.${LATEST} && git checkout v${LATEST}
make --directory=${DRUNTIME_DIR}.${LATEST} -f posix.mak clean
make --directory=${DRUNTIME_DIR}.${LATEST} -f posix.mak \
${MAKE} --directory=${DRUNTIME_DIR}.${LATEST} -f posix.mak clean
${MAKE} --directory=${DRUNTIME_DIR}.${LATEST} -f posix.mak \
DMD=${DMD_DIR}.${LATEST}/src/dmd \
DOCDIR=${DOC_OUTPUT_DIR}/phobos \
DOCFMT=../d-programming-language.org/std.ddoc doc -j 4
Expand All @@ -227,7 +227,7 @@ ${DOC_OUTPUT_DIR}/phobos/object.html : ${DMD_DIR}.${LATEST}/src/dmd
phobos-prerelease : ${DOC_OUTPUT_DIR}/phobos-prerelease/index.html
${DOC_OUTPUT_DIR}/phobos-prerelease/index.html : \
${DOC_OUTPUT_DIR}/phobos-prerelease/object.html
cd ${PHOBOS_DIR} && make -f posix.mak \
cd ${PHOBOS_DIR} && ${MAKE} -f posix.mak \
DOC_OUTPUT_DIR=${DOC_OUTPUT_DIR}/phobos-prerelease html -j 4

phobos-release: ${DOC_OUTPUT_DIR}/phobos/index.html
Expand All @@ -236,7 +236,7 @@ ${DOC_OUTPUT_DIR}/phobos/index.html : \
[ -d ${PHOBOS_DIR}.${LATEST} ] || \
git clone ${GIT_HOME}/phobos ${PHOBOS_DIR}.${LATEST}/
cd ${PHOBOS_DIR}.${LATEST} && git checkout v${LATEST}
make --directory=${PHOBOS_DIR}.${LATEST} -f posix.mak -j 4 \
${MAKE} --directory=${PHOBOS_DIR}.${LATEST} -f posix.mak -j 4 \
release html \
DMD=${DMD_DIR}.${LATEST}/src/dmd \
DDOC=${DMD_DIR}.${LATEST}/src/dmd \
Expand Down

0 comments on commit 37010c3

Please sign in to comment.