Skip to content

Commit 552a8bc

Browse files
author
Bob Grabar
committed
build: fixing build for Darwin II
1 parent d0cfb6f commit 552a8bc

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

makefile

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ endif
104104
# access these targets through the ``publish`` target.
105105
.PHONY: initial-dependencies static-components sphinx-components
106106

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
108108
@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
110110
@echo [build]: building and migrating all non-Sphinx components of the build.
111111
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
112112
@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
115115
# Build the HTML components of the build.
116116
#
117117

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)
119123

120124
$(branch-output)/singlehtml/contents.html:$(branch-output)/singlehtml
121-
source/about.txt:
125+
source/about.txt:setup
122126
@touch $@
123127
@echo [build]: touched '$@' to ensure a fresh build.
124128
$(branch-output)/dirhtml:dirhtml
@@ -179,12 +183,6 @@ $(public-branch-output)/release.txt:$(public-output)/manual
179183
@git rev-parse --verify HEAD >|$@
180184
$(public-output)/manual:
181185
@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 $@
188186

189187
$(public-output)/index.html:themes/docs.mongodb.org/index.html
190188
@cp $< $@

0 commit comments

Comments
 (0)