Skip to content

Commit 0c589a5

Browse files
committed
Rename DMD_REL to DMD_STABLE v2
1 parent 7b8b5d8 commit 0c589a5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

posix.mak

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ TMP?=/tmp
4040

4141
# Last released versions
4242
DMD_STABLE_DIR=${DMD_DIR}-${LATEST}
43-
DMD_REL=$(DMD_STABLE_DIR)/src/dmd
43+
DMD_STABLE=$(DMD_STABLE_DIR)/src/dmd
4444
DRUNTIME_STABLE_DIR=${DRUNTIME_DIR}-${LATEST}
4545
PHOBOS_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

376376
dmd-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
508508
endif
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

Comments
 (0)