Skip to content

Commit fecebe1

Browse files
committed
build: Regenerate docs for tarball and releases
Related: https://twitter.com/kapeli/status/222477400880070658
1 parent 8146f2e commit fecebe1

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ website_files = \
130130
out/doc/changelog.html \
131131
$(doc_images)
132132

133-
doc: program $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) tools/doc/ blog
133+
doc: $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) tools/doc/ blog node
134134

135135
blogclean:
136136
rm -rf out/blog
@@ -144,19 +144,19 @@ $(apidoc_dirs):
144144
out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets/
145145
cp $< $@
146146

147-
out/doc/changelog.html: ChangeLog doc/changelog-head.html doc/changelog-foot.html tools/build-changelog.sh
147+
out/doc/changelog.html: ChangeLog doc/changelog-head.html doc/changelog-foot.html tools/build-changelog.sh node
148148
bash tools/build-changelog.sh
149149

150-
out/doc/%.html: doc/%.html
150+
out/doc/%.html: doc/%.html node
151151
cat $< | sed -e 's|__VERSION__|'$(VERSION)'|g' > $@
152152

153153
out/doc/%: doc/%
154154
cp -r $< $@
155155

156-
out/doc/api/%.json: doc/api/%.markdown
156+
out/doc/api/%.json: doc/api/%.markdown node
157157
out/Release/node tools/doc/generate.js --format=json $< > $@
158158

159-
out/doc/api/%.html: doc/api/%.markdown
159+
out/doc/api/%.html: doc/api/%.markdown node
160160
out/Release/node tools/doc/generate.js --format=html --template=doc/template.html $< > $@
161161

162162
email.md: ChangeLog tools/email-footer.md
@@ -216,7 +216,7 @@ $(PKG):
216216
--doc tools/osx-pkg.pmdoc \
217217
--out $(PKG)
218218

219-
$(TARBALL): node out/doc
219+
$(TARBALL): node doc
220220
@if [ "$(shell git status --porcelain | egrep -v '^\?\? ')" = "" ]; then \
221221
exit 0 ; \
222222
else \
@@ -269,4 +269,4 @@ cpplint:
269269

270270
lint: jslint cpplint
271271

272-
.PHONY: lint cpplint jslint bench clean docopen docclean doc dist distclean check uninstall install install-includes install-bin all program staticlib dynamiclib test test-all website-upload pkg blog blogclean
272+
.PHONY: lint cpplint jslint bench clean docopen docclean doc dist distclean check uninstall install install-includes install-bin all staticlib dynamiclib test test-all website-upload pkg blog blogclean

0 commit comments

Comments
 (0)