@@ -231,12 +231,12 @@ doc/$(1)/rust.css: rust.css
231
231
DOCS += doc/$(1 ) /index.html
232
232
endef
233
233
234
- # The library documenting macro
235
- # $(1) - The output directory
234
+ # The "next generation" library documenting macro
235
+ # $(1) - The crate name (std/extra)
236
236
# $(2) - The crate file
237
- # $(3) - The crate soruce files
237
+ # $(3) - The relevant host build triple (to depend on libstd)
238
238
define libdocng
239
- doc/ng/$(1 ) /index.html: $( 2 ) $( 3 ) $$( RUSTDOC_NG )
239
+ doc/ng/$(1 ) /index.html: $$( RUSTDOC_NG ) $$( TLIB2_T_ $( 3 ) _H_ $( 3 ) ) / $( CFG_STDLIB_ $( 3 ) )
240
240
@$$(call E, rustdoc_ng: $$@ )
241
241
$(Q )$(RUSTDOC_NG ) html $(2 ) -o doc/ng
242
242
@@ -245,8 +245,8 @@ endef
245
245
246
246
$(eval $(call libdoc,std,$(STDLIB_CRATE),$(STDLIB_INPUTS)))
247
247
$(eval $(call libdoc,extra,$(EXTRALIB_CRATE),$(EXTRALIB_INPUTS)))
248
- $(eval $(call libdocng,std,$(STDLIB_CRATE),$(STDLIB_INPUTS )))
249
- $(eval $(call libdocng,extra,$(EXTRALIB_CRATE),$(EXTRALIB_INPUTS )))
248
+ $(eval $(call libdocng,std,$(STDLIB_CRATE),$(CFG_BUILD_TRIPLE )))
249
+ $(eval $(call libdocng,extra,$(EXTRALIB_CRATE),$(CFG_BUILD_TRIPLE )))
250
250
endif
251
251
252
252
0 commit comments