46
46
# phobos-prerelease
47
47
# apidocs-prerelease Ddox documentation
48
48
#
49
- # B) `docs-latest ` (aka upstream/stable)
49
+ # B) `docs-stable ` (aka upstream/stable)
50
50
#
51
51
# Based on the last official release (git tag), the repositories are freshly cloned from GitHub.
52
52
# Individual targets include:
53
53
#
54
- # dmd-latest
55
- # druntime-latest
56
- # phobos-latest
57
- # apidocs-latest Ddox documentation
54
+ # dmd-stable
55
+ # druntime-stable
56
+ # phobos-stable
57
+ # apidocs-stable Ddox documentation
58
58
#
59
59
# Documentation development Ddox web server
60
60
# -----------------------------------------
101
101
# It's a long-lasting effort to transition from the Ddoc documentation build
102
102
# to a Ddox documentation build of the D standard library.
103
103
#
104
- # https://dlang.org/phobos Stable Ddoc build (`docs-latest `)
104
+ # https://dlang.org/phobos Stable Ddoc build (`docs-stable `)
105
105
# https://dlang.org/phobos-prerelease Master Ddoc build (`docs-prerelease`)
106
- # https://dlang.org/library Stable Ddox build (`apidocs-latest `)
106
+ # https://dlang.org/library Stable Ddox build (`apidocs-stable `)
107
107
# https://dlang.org/library-release Master Ddox build (`apidocs-prerelease`)
108
108
#
109
109
# For more documentation on Ddox, see https://github.com/rejectedsoftware/ddox
@@ -388,10 +388,10 @@ ifeq (1,$(RELEASE))
388
388
release : html dmd-release druntime-release phobos-release d-release.tag
389
389
endif
390
390
391
- docs-latest : dmd-latest druntime-latest phobos-latest apidocs-latest
391
+ docs-stable : dmd-stable druntime-stable phobos-stable apidocs-stable
392
392
docs-prerelease : dmd-prerelease druntime-prerelease phobos-prerelease apidocs-prerelease
393
393
394
- docs : docs-latest docs-prerelease
394
+ docs : docs-stable docs-prerelease
395
395
396
396
html : $(ALL_FILES )
397
397
@@ -614,7 +614,7 @@ dmd-prerelease : $(STD_DDOC_PRERELEASE) druntime-target $G/changelog/next-versio
614
614
dmd-release : $(STD_DDOC_RELEASE ) druntime-target
615
615
$(MAKE ) AUTO_BOOTSTRAP=1 --directory=$(DMD_DIR ) -f posix.mak html $(DDOC_VARS_RELEASE_HTML )
616
616
617
- dmd-latest : $(STD_DDOC_STABLE ) druntime-latest -target
617
+ dmd-stable : $(STD_DDOC_STABLE ) druntime-stable -target
618
618
$(MAKE ) AUTO_BOOTSTRAP=1 --directory=$(DMD_STABLE_DIR ) -f posix.mak html $(DDOC_VARS_STABLE_HTML )
619
619
620
620
dmd-prerelease-verbatim : $(STD_DDOC_PRERELEASE ) druntime-target \
@@ -634,7 +634,7 @@ $W/phobos-prerelease/mars.verbatim: verbatim.ddoc $G/changelog/next-version
634
634
druntime-target : ${DRUNTIME_DIR} ${DMD}
635
635
${MAKE} --directory=${DRUNTIME_DIR} -f posix.mak target ${DDOC_VARS_PRERELEASE_HTML}
636
636
637
- druntime-latest -target : ${DRUNTIME_STABLE_DIR} ${DMD_STABLE}
637
+ druntime-stable -target : ${DRUNTIME_STABLE_DIR} ${DMD_STABLE}
638
638
${MAKE} --directory=${DRUNTIME_STABLE_DIR} -f posix.mak target ${DDOC_VARS_STABLE_HTML}
639
639
640
640
druntime-prerelease : druntime-target $(STD_DDOC_PRERELEASE ) $G/changelog/next-version
@@ -647,7 +647,7 @@ druntime-release : druntime-target $(STD_DDOC_RELEASE)
647
647
DOCDIR=$W /phobos \
648
648
DOCFMT=" $( addprefix ` pwd` /, $( STD_DDOC_RELEASE) ) "
649
649
650
- druntime-latest : druntime-latest -target $(STD_DDOC_STABLE )
650
+ druntime-stable : druntime-stable -target $(STD_DDOC_STABLE )
651
651
${MAKE} --directory=${DRUNTIME_STABLE_DIR} -f posix.mak doc $(DDOC_VARS_STABLE_HTML ) \
652
652
DOCDIR=$W /phobos \
653
653
DOCFMT=" $( addprefix ` pwd` /, $( STD_DDOC_STABLE) ) "
@@ -674,7 +674,7 @@ phobos-prerelease : ${PHOBOS_FILES_GENERATED} druntime-target $(STD_DDOC_PRERELE
674
674
phobos-release : ${PHOBOS_FILES_GENERATED} druntime-target $(STD_DDOC_RELEASE )
675
675
$(MAKE ) --directory=$(PHOBOS_DIR_GENERATED ) -f posix.mak html $(DDOC_VARS_RELEASE_HTML )
676
676
677
- phobos-latest : ${PHOBOS_STABLE_FILES_GENERATED} druntime-latest -target $(STD_DDOC_STABLE )
677
+ phobos-stable : ${PHOBOS_STABLE_FILES_GENERATED} druntime-stable -target $(STD_DDOC_STABLE )
678
678
$(MAKE ) --directory=$(PHOBOS_STABLE_DIR_GENERATED ) -f posix.mak html $(DDOC_VARS_STABLE_HTML )
679
679
680
680
phobos-prerelease-verbatim : ${PHOBOS_FILES_GENERATED} druntime-target \
@@ -696,7 +696,7 @@ $(PHOBOS_LIB): $(DMD)
696
696
# ###############################################################################
697
697
698
698
apidocs-prerelease : $W/library-prerelease/sitemap.xml $W/library-prerelease/.htaccess
699
- apidocs-latest : $W/library/sitemap.xml $W/library/.htaccess
699
+ apidocs-stable : $W/library/sitemap.xml $W/library/.htaccess
700
700
apidocs-serve : $G/docs-prerelease.json
701
701
${DPL_DOCS} serve-html --std-macros=html.ddoc --std-macros=dlang.org.ddoc --std-macros=std.ddoc --std-macros=macros.ddoc --std-macros=std-ddox.ddoc \
702
702
--override-macros=std-ddox-override.ddoc --package-order=std \
@@ -709,7 +709,7 @@ $W/library-prerelease/sitemap.xml : $G/docs-prerelease.json
709
709
--git-target=master $(DPL_DOCS_PATH_RUN_FLAGS ) \
710
710
$< $W /library-prerelease
711
711
712
- $W/library/sitemap.xml : $G/docs-latest .json
712
+ $W/library/sitemap.xml : $G/docs-stable .json
713
713
@mkdir -p $(dir $@ )
714
714
${DPL_DOCS} generate-html --file-name-style=lowerUnderscored --std-macros=html.ddoc --std-macros=dlang.org.ddoc --std-macros=std.ddoc --std-macros=macros.ddoc --std-macros=std-ddox.ddoc \
715
715
--override-macros=std-ddox-override.ddoc --package-order=std \
732
732
DMD_EXCLUDE_STABLE += -e /scanmach/d -e /libmach/d
733
733
endif
734
734
735
- $G/docs-latest .json : ${DMD_STABLE} ${DMD_STABLE_DIR} \
735
+ $G/docs-stable .json : ${DMD_STABLE} ${DMD_STABLE_DIR} \
736
736
${DRUNTIME_STABLE_DIR} ${PHOBOS_STABLE_FILES_GENERATED} | dpl-docs
737
737
# remove this after https://github.com/dlang/dmd/pull/7513 has been merged
738
738
if [ -f $( DMD_STABLE_DIR) /src/* /objc_glue_stubs.d ] ; then \
@@ -804,7 +804,7 @@ ${STABLE_DMD} ${STABLE_RDMD} ${DUB}: ${STABLE_DMD_ROOT}/.downloaded
804
804
# ###############################################################################
805
805
806
806
# testing menu generation
807
- chm-nav-latest .json : $(DDOC ) std.ddoc spec/spec.ddoc ${GENERATED}/modlist-${LATEST}.ddoc changelog/changelog.ddoc chm-nav.dd $(DMD )
807
+ chm-nav-stable .json : $(DDOC ) std.ddoc spec/spec.ddoc ${GENERATED}/modlist-${LATEST}.ddoc changelog/changelog.ddoc chm-nav.dd $(DMD )
808
808
$(DMD ) -conf= -c -o- -Df$@ $(filter-out $(DMD ) ,$^ )
809
809
810
810
chm-nav-release.json : $(DDOC ) std.ddoc spec/spec.ddoc ${GENERATED}/modlist-release.ddoc changelog/changelog.ddoc chm-nav.dd $(DMD )
@@ -817,7 +817,7 @@ chm-nav-prerelease.json : $(DDOC) std.ddoc spec/spec.ddoc ${GENERATED}/modlist-p
817
817
# Dman tags
818
818
# ###############################################################################
819
819
820
- d-latest .tag d-tags-latest .json : chmgen.d $(STABLE_DMD ) $(ALL_FILES ) phobos-latest druntime-latest chm-nav-latest .json
820
+ d-stable .tag d-tags-stable .json : chmgen.d $(STABLE_DMD ) $(ALL_FILES ) phobos-stable druntime-stable chm-nav-stable .json
821
821
$(STABLE_RDMD ) chmgen.d --root=$W --only-tags --target stable
822
822
823
823
d-release.tag d-tags-release.json : chmgen.d $(STABLE_DMD ) $(ALL_FILES ) phobos-release druntime-release chm-nav-release.json
0 commit comments