@@ -178,21 +178,6 @@ DMD_LATEST=$(DMD_LATEST_DIR)/generated/$(OS)/release/$(MODEL)/dmd
178
178
DRUNTIME_LATEST_DIR =$G/druntime-${LATEST}
179
179
PHOBOS_LATEST_DIR =$G/phobos-${LATEST}
180
180
181
- # Auto-cloning missing directories
182
- $(shell [ ! -d $(DMD_DIR) ] && git clone --depth=1 ${GIT_HOME}/dmd $(DMD_DIR))
183
- $(shell [ ! -d $(DRUNTIME_DIR) ] && git clone --depth=1 ${GIT_HOME}/druntime $(DRUNTIME_DIR))
184
-
185
- # ###############################################################################
186
- # Automatically clone Phobos
187
- PHOBOS_FILES := $(shell find $(PHOBOS_DIR ) -name '* .d' -o -name '* .mak' -o -name '* .ddoc')
188
- ifndef RELEASE
189
- # TODO: should be replaced by make targets
190
- $(shell [ ! -d $(PHOBOS_DIR) ] && git clone --depth=1 ${GIT_HOME}/phobos $(PHOBOS_DIR))
191
- $(shell [ ! -d $(PHOBOS_LATEST_DIR) ] && git clone -b v${LATEST} --depth=1 ${GIT_HOME}/phobos $(PHOBOS_LATEST_DIR))
192
- PHOBOS_LATEST_FILES := $(shell find $(PHOBOS_LATEST_DIR ) -name '* .d' -o -name '* .mak' -o -name '* .ddoc')
193
- endif
194
- # ###############################################################################
195
-
196
181
# stable dub and dmd versions used to build dpl-docs
197
182
STABLE_DMD_VER =2.078.2
198
183
STABLE_DMD_ROOT =$(GENERATED ) /stable_dmd-$(STABLE_DMD_VER )
@@ -693,20 +678,20 @@ $W/phobos-prerelease/object.verbatim : $(DMD) $G/changelog/next-version
693
678
# ###############################################################################
694
679
695
680
.PHONY : phobos-prerelease
696
- phobos-prerelease : ${PHOBOS_FILES} druntime-target $(STD_DDOC_PRERELEASE ) $(DDOC_BIN ) $(DMD ) \
681
+ phobos-prerelease : druntime-target $(STD_DDOC_PRERELEASE ) $(DDOC_BIN ) $(DMD ) \
697
682
$G /changelog/next-version
698
683
$(MAKE ) --directory=$(PHOBOS_DIR ) -f posix.mak html $(DDOC_VARS_PRERELEASE_HTML ) \
699
684
DMD=" $( abspath $( DDOC_BIN) ) --compiler=$( abspath $( DMD) ) "
700
685
701
- phobos-release : ${PHOBOS_FILES} druntime-target $(STD_DDOC_RELEASE ) $(DDOC_BIN ) $(DMD )
686
+ phobos-release : druntime-target $(STD_DDOC_RELEASE ) $(DDOC_BIN ) $(DMD )
702
687
$(MAKE ) --directory=$(PHOBOS_DIR ) -f posix.mak html $(DDOC_VARS_RELEASE_HTML ) \
703
688
DMD=" $( abspath $( DDOC_BIN) ) --compiler=$( abspath $( DMD) ) "
704
689
705
- phobos-latest : ${PHOBOS_LATEST_FILES} druntime-latest-target $(STD_DDOC_LATEST ) $(DDOC_BIN ) $(DMD_LATEST )
690
+ phobos-latest : druntime-latest-target $(STD_DDOC_LATEST ) $(DDOC_BIN ) $(DMD_LATEST )
706
691
$(MAKE ) --directory=$(PHOBOS_LATEST_DIR ) -f posix.mak html $(DDOC_VARS_LATEST_HTML ) \
707
692
DMD=" $( abspath $( DDOC_BIN) ) --compiler=$( abspath $( DMD_LATEST) ) "
708
693
709
- phobos-prerelease-verbatim : ${PHOBOS_FILES} druntime-target \
694
+ phobos-prerelease-verbatim : druntime-target \
710
695
$W /phobos-prerelease/index.verbatim
711
696
$W/phobos-prerelease/index.verbatim : verbatim.ddoc \
712
697
$W /phobos-prerelease/object.verbatim \
762
747
endif
763
748
764
749
$G/docs-latest.json : ${DMD_LATEST} ${DMD_LATEST_DIR} \
765
- ${DRUNTIME_LATEST_DIR} ${PHOBOS_LATEST_FILES} | dpl-docs
750
+ ${DRUNTIME_LATEST_DIR} | dpl-docs
766
751
# remove this after https://github.com/dlang/dmd/pull/7513 has been merged
767
752
if [ -f $( DMD_LATEST_DIR) /src/* /objc_glue_stubs.d ] ; then \
768
753
DMD_EXCLUDE_LATEST_BASH=" -e /objc_glue.d/d" ; \
@@ -780,8 +765,7 @@ $G/docs-latest.json : ${DMD_LATEST} ${DMD_LATEST_DIR} \
780
765
--only-documented $(MOD_EXCLUDES_LATEST )
781
766
rm -f $G /.latest-files.txt $G /.latest-dummy.html
782
767
783
- $G/docs-prerelease.json : ${DMD} ${DMD_DIR} ${DRUNTIME_DIR} \
784
- ${PHOBOS_FILES} | dpl-docs
768
+ $G/docs-prerelease.json : ${DMD} ${DMD_DIR} ${DRUNTIME_DIR} | dpl-docs
785
769
# remove this after https://github.com/dlang/dmd/pull/7513 has been merged
786
770
if [ -f $( DMD_DIR) /src/* /objc_glue_stubs.d ] ; then \
787
771
DMD_EXCLUDE_PRERELEASE=" -e /objc_glue.d/d" ; \
0 commit comments