@@ -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
@@ -371,7 +371,7 @@ ${DMD_DIR} ${DRUNTIME_DIR} ${PHOBOS_DIR} ${TOOLS_DIR} ${INSTALLER_DIR}:
371371$(DMD ) : ${DMD_DIR}
372372 ${MAKE} --directory=${DMD_DIR} /src -f posix.mak AUTO_BOOTSTRAP=1
373373
374- $(DMD_REL ) : ${DMD_STABLE_DIR}
374+ $(DMD_STABLE ) : ${DMD_STABLE_DIR}
375375 ${MAKE} --directory=${DMD_STABLE_DIR} /src -f posix.mak AUTO_BOOTSTRAP=1
376376
377377dmd-release : $(STD_DDOC ) $(DMD_DIR ) $(DMD )
@@ -407,9 +407,9 @@ druntime-prerelease : ${DRUNTIME_DIR} $(DMD) $(STD_DDOC_PRE)
407407 DOCDIR=${DOC_OUTPUT_DIR} /phobos-prerelease \
408408 DOCFMT=" $( addprefix ` pwd` /, $( STD_DDOC_PRE) ) "
409409
410- druntime-release : ${DRUNTIME_STABLE_DIR} $(DMD_REL ) $(STD_DDOC )
410+ druntime-release : ${DRUNTIME_STABLE_DIR} $(DMD_STABLE ) $(STD_DDOC )
411411 ${MAKE} --directory=${DRUNTIME_STABLE_DIR} -f posix.mak target doc \
412- DMD=$(DMD_REL ) \
412+ DMD=$(DMD_STABLE ) \
413413 DOCDIR=${DOC_OUTPUT_DIR} /phobos \
414414 DOCFMT=" $( addprefix ` pwd` /, $( STD_DDOC) ) "
415415
@@ -439,10 +439,10 @@ phobos-prerelease : ${PHOBOS_FILES_GENERATED} $(STD_DDOC_PRE) druntime-prereleas
439439 VERSION=" $( realpath ${DMD_DIR} /VERSION) " \
440440 html
441441
442- phobos-release : ${PHOBOS_STABLE_FILES_GENERATED} $(DMD_REL ) $(STD_DDOC ) \
442+ phobos-release : ${PHOBOS_STABLE_FILES_GENERATED} $(DMD_STABLE ) $(STD_DDOC ) \
443443 druntime-release
444444 ${MAKE} --directory=${PHOBOS_STABLE_DIR_GENERATED} -f posix.mak \
445- DMD=$(DMD_REL ) \
445+ DMD=$(DMD_STABLE ) \
446446 DRUNTIME_PATH=${DRUNTIME_STABLE_DIR} \
447447 DOC_OUTPUT_DIR=${DOC_OUTPUT_DIR} /phobos \
448448 STDDOC=" $( addprefix ` pwd` /, $( STD_DDOC) ) " \
@@ -508,13 +508,13 @@ else
508508 DMD_EXCLUDE += -e /scanmach/d -e /libmach/d
509509endif
510510
511- $G/docs.json : ${DMD_REL } ${DRUNTIME_STABLE_DIR} \
511+ $G/docs.json : ${DMD_STABLE } ${DRUNTIME_STABLE_DIR} \
512512 ${PHOBOS_STABLE_FILES_GENERATED} | dpl-docs
513513 find ${DRUNTIME_STABLE_DIR} /src -name ' *.d' | \
514514 sed -e /unittest.d/d -e /gcstub/d > $G /.release-files.txt
515515 find ${PHOBOS_STABLE_DIR_GENERATED} -name ' *.d' | \
516516 sed -e /unittest.d/d -e /windows/d | sort >> $G /.release-files.txt
517- ${DMD_REL } -c -o- -version=CoreDdoc -version=StdDdoc -Df.release-dummy.html \
517+ ${DMD_STABLE } -c -o- -version=CoreDdoc -version=StdDdoc -Df.release-dummy.html \
518518 -Xf$@ -I${PHOBOS_STABLE_DIR_GENERATED} @$G /.release-files.txt
519519 ${DPL_DOCS} filter $@ --min-protection=Protected \
520520 --only-documented $(MOD_EXCLUDES_PRERELEASE )
0 commit comments