File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -37,17 +37,17 @@ DPL_DOCS_PATH=dpl-docs
37
37
DPL_DOCS =$(DPL_DOCS_PATH ) /dpl-docs
38
38
39
39
TMP? =/tmp
40
+ GENERATED =.generated
41
+ G =$(GENERATED )
40
42
41
43
# Last released versions
42
- DMD_STABLE_DIR =${DMD_DIR} -${LATEST}
44
+ DMD_STABLE_DIR =$G/dmd -${LATEST}
43
45
DMD_STABLE =$(DMD_STABLE_DIR ) /generated/$(OS ) /release/$(MODEL ) /dmd
44
- DRUNTIME_STABLE_DIR =${DRUNTIME_DIR} -${LATEST}
45
- PHOBOS_STABLE_DIR =${PHOBOS_DIR} -${LATEST}
46
+ DRUNTIME_STABLE_DIR =$G/druntime -${LATEST}
47
+ PHOBOS_STABLE_DIR =$G/phobos -${LATEST}
46
48
47
49
# ###############################################################################
48
50
# Automatically generated directories
49
- GENERATED =.generated
50
- G =$(GENERATED )
51
51
PHOBOS_DIR_GENERATED =$(GENERATED ) /phobos-prerelease
52
52
PHOBOS_STABLE_DIR_GENERATED =$(GENERATED ) /phobos-release
53
53
# The assert_writeln_magic tool transforms all source files from Phobos. Hence
@@ -404,9 +404,11 @@ $G/twid_latest.ddoc:
404
404
# Git rules
405
405
# ###############################################################################
406
406
407
- ../% -${LATEST} :
407
+ # Clone snapshots of the latest official release of all main D repositories
408
+ $G/% -${LATEST} :
408
409
git clone -b v${LATEST} --depth=1 ${GIT_HOME} /$(notdir $* ) $@
409
410
411
+ # Clone all main D repositories
410
412
${DMD_DIR} ${DRUNTIME_DIR} ${PHOBOS_DIR} ${TOOLS_DIR} ${INSTALLER_DIR} :
411
413
git clone --depth=1 ${GIT_HOME} /$(notdir $(@F ) ) $@
412
414
You can’t perform that action at this time.
0 commit comments