@@ -40,7 +40,7 @@ TMP?=/tmp
4040
4141# Last released versions
4242DMD_STABLE_DIR =${DMD_DIR}-${LATEST}
43- DMD_REL =$(DMD_STABLE_DIR ) /src/dmd
43+ DMD_STABLE =$(DMD_STABLE_DIR ) /src/dmd
4444DRUNTIME_STABLE_DIR =${DRUNTIME_DIR}-${LATEST}
4545PHOBOS_STABLE_DIR =${PHOBOS_DIR}-${LATEST}
4646
@@ -370,7 +370,7 @@ ${DMD_DIR} ${DRUNTIME_DIR} ${PHOBOS_DIR} ${TOOLS_DIR} ${INSTALLER_DIR}:
370370$(DMD ) : ${DMD_DIR}
371371 ${MAKE} --directory=${DMD_DIR} /src -f posix.mak AUTO_BOOTSTRAP=1
372372
373- $(DMD_REL ) : ${DMD_STABLE_DIR}
373+ $(DMD_STABLE ) : ${DMD_STABLE_DIR}
374374 ${MAKE} --directory=${DMD_STABLE_DIR} /src -f posix.mak AUTO_BOOTSTRAP=1
375375
376376dmd-release : $(STD_DDOC ) $(DMD_DIR ) $(DMD )
@@ -406,9 +406,9 @@ druntime-prerelease : ${DRUNTIME_DIR} $(DMD) $(STD_DDOC_PRE)
406406 DOCDIR=${DOC_OUTPUT_DIR} /phobos-prerelease \
407407 DOCFMT=" $( addprefix ` pwd` /, $( STD_DDOC_PRE) ) "
408408
409- druntime-release : ${DRUNTIME_STABLE_DIR} $(DMD_REL ) $(STD_DDOC )
409+ druntime-release : ${DRUNTIME_STABLE_DIR} $(DMD_STABLE ) $(STD_DDOC )
410410 ${MAKE} --directory=${DRUNTIME_STABLE_DIR} -f posix.mak target doc \
411- DMD=$(DMD_REL ) \
411+ DMD=$(DMD_STABLE ) \
412412 DOCDIR=${DOC_OUTPUT_DIR} /phobos \
413413 DOCFMT=" $( addprefix ` pwd` /, $( STD_DDOC) ) "
414414
@@ -438,10 +438,10 @@ phobos-prerelease : ${PHOBOS_FILES_GENERATED} $(STD_DDOC_PRE) druntime-prereleas
438438 VERSION=" $( realpath ${DMD_DIR} /VERSION) " \
439439 html
440440
441- phobos-release : ${PHOBOS_STABLE_FILES_GENERATED} $(DMD_REL ) $(STD_DDOC ) \
441+ phobos-release : ${PHOBOS_STABLE_FILES_GENERATED} $(DMD_STABLE ) $(STD_DDOC ) \
442442 druntime-release
443443 ${MAKE} --directory=${PHOBOS_STABLE_DIR_GENERATED} -f posix.mak \
444- DMD=$(DMD_REL ) \
444+ DMD=$(DMD_STABLE ) \
445445 DRUNTIME_PATH=${DRUNTIME_STABLE_DIR} \
446446 DOC_OUTPUT_DIR=${DOC_OUTPUT_DIR} /phobos \
447447 STDDOC=" $( addprefix ` pwd` /, $( STD_DDOC) ) " \
@@ -507,13 +507,13 @@ else
507507 DMD_EXCLUDE += -e /scanmach/d -e /libmach/d
508508endif
509509
510- docs.json : ${DMD_REL } ${DRUNTIME_STABLE_DIR} \
510+ docs.json : ${DMD_STABLE } ${DRUNTIME_STABLE_DIR} \
511511 ${PHOBOS_STABLE_FILES_GENERATED} | dpl-docs
512512 find ${DRUNTIME_STABLE_DIR} /src -name ' *.d' | \
513513 sed -e /unittest.d/d -e /gcstub/d > .release-files.txt
514514 find ${PHOBOS_STABLE_DIR_GENERATED} -name ' *.d' | \
515515 sed -e /unittest.d/d -e /windows/d | sort >> .release-files.txt
516- ${DMD_REL } -c -o- -version=CoreDdoc -version=StdDdoc -Df.release-dummy.html \
516+ ${DMD_STABLE } -c -o- -version=CoreDdoc -version=StdDdoc -Df.release-dummy.html \
517517 -Xfdocs.json -I${PHOBOS_STABLE_DIR_GENERATED} @.release-files.txt
518518 ${DPL_DOCS} filter docs.json --min-protection=Protected \
519519 --only-documented $(MOD_EXCLUDES_PRERELEASE )
0 commit comments