@@ -104,9 +104,9 @@ endif
104
104
# access these targets through the ``publish`` target.
105
105
.PHONY : initial-dependencies static-components sphinx-components
106
106
107
- initial-dependencies :source/about.txt $(public-branch-output ) $( public-branch-output ) /MongoDB-Manual.epub
107
+ initial-dependencies :source/about.txt $(public-branch-output ) /MongoDB-Manual.epub
108
108
@echo [build]: running the publication routine for the $(manual-branch ) branch of the Manual.
109
- static-components :$(public-branch-output ) $( public- output ) /index.html $(public-output ) /10gen-gpg-key.asc $(public-branch-output ) /tutorials $(public-branch-output ) /reference/methods $(public-branch-output ) /.htaccess $(public-branch-output ) /release.txt $(public-output ) /osd.xml
109
+ static-components :$(public-output ) /index.html $(public-output ) /10gen-gpg-key.asc $(public-branch-output ) /tutorials $(public-branch-output ) /reference/methods $(public-branch-output ) /.htaccess $(public-branch-output ) /release.txt $(public-output ) /osd.xml
110
110
@echo [build]: building and migrating all non-Sphinx components of the build.
111
111
sphinx-components :$(public-branch-output ) / $(public-branch-output ) /sitemap.xml.gz $(public-branch-output ) /MongoDB-Manual.pdf $(public-branch-output ) /single $(public-branch-output ) /single/index.html
112
112
@echo [build]: running the publication routine for all Sphinx Components of the Manual Build.
@@ -115,10 +115,14 @@ sphinx-components:$(public-branch-output)/ $(public-branch-output)/sitemap.xml.g
115
115
# Build the HTML components of the build.
116
116
#
117
117
118
- .PHONY :source/about.txt
118
+ .PHONY :source/about.txt setup
119
+
120
+ setup :
121
+ @mkdir -p $(public-branch-output )
122
+ @echo [build]: created $(public-branch-output )
119
123
120
124
$(branch-output ) /singlehtml/contents.html :$(branch-output ) /singlehtml
121
- source/about.txt :
125
+ source/about.txt :setup
122
126
@touch $@
123
127
@echo [build]: touched ' $@' to ensure a fresh build.
124
128
$(branch-output ) /dirhtml :dirhtml
@@ -179,12 +183,6 @@ $(public-branch-output)/release.txt:$(public-output)/manual
179
183
@git rev-parse --verify HEAD > | $@
180
184
$(public-output ) /manual :
181
185
@bin/create-link $(manual-branch ) manual $@
182
- $(public-output ) :
183
- @mkdir -p $@
184
- @echo [build]: created $@
185
- $(public-branch-output ) :$(public-output )
186
- @mkdir -p $@
187
- @echo [build]: created $@
188
186
189
187
$(public-output ) /index.html :themes/docs.mongodb.org/index.html
190
188
@cp $< $@
0 commit comments