1 -include ../../run-make-fulldeps/tools.mk
3 INVOCATION_ONLY = $(TMPDIR)/invocation-only
4 TOOLCHAIN_ONLY = $(TMPDIR)/toolchain-only
5 ALL_SHARED = $(TMPDIR)/all-shared
7 all: invocation-only toolchain-only all-shared
10 $(RUSTDOC) -Z unstable-options --emit=invocation-specific --output $(INVOCATION_ONLY) --resource-suffix=-xxx --theme y.css --extend-css z.css x.rs
11 [ -e $(INVOCATION_ONLY)/search-index-xxx.js ]
12 [ -e $(INVOCATION_ONLY)/settings.html ]
13 [ -e $(INVOCATION_ONLY)/x/all.html ]
14 [ -e $(INVOCATION_ONLY)/x/index.html ]
15 [ -e $(INVOCATION_ONLY)/theme-xxx.css ] # generated from z.css
16 ! [ -e $(INVOCATION_ONLY)/storage-xxx.js ]
17 ! [ -e $(INVOCATION_ONLY)/SourceSerif4-It.ttf.woff ]
19 # FIXME: this probably shouldn't have a suffix
20 [ -e $(INVOCATION_ONLY)/y-xxx.css ]
21 # FIXME: this is technically incorrect (see `write_shared`)
22 ! [ -e $(INVOCATION_ONLY)/main-xxx.js ]
25 $(RUSTDOC) -Z unstable-options --emit=toolchain-shared-resources --output $(TOOLCHAIN_ONLY) --resource-suffix=-xxx --extend-css z.css x.rs
26 [ -e $(TOOLCHAIN_ONLY)/storage-xxx.js ]
27 ! [ -e $(TOOLCHAIN_ONLY)/SourceSerif4-It.ttf.woff ]
28 ! [ -e $(TOOLCHAIN_ONLY)/search-index-xxx.js ]
29 ! [ -e $(TOOLCHAIN_ONLY)/x/index.html ]
30 ! [ -e $(TOOLCHAIN_ONLY)/theme.css ]
32 [ -e $(TOOLCHAIN_ONLY)/main-xxx.js ]
33 ! [ -e $(TOOLCHAIN_ONLY)/y-xxx.css ]
36 $(RUSTDOC) -Z unstable-options --emit=toolchain-shared-resources,unversioned-shared-resources --output $(ALL_SHARED) --resource-suffix=-xxx --extend-css z.css x.rs
37 [ -e $(ALL_SHARED)/storage-xxx.js ]
38 [ -e $(ALL_SHARED)/SourceSerif4-It.ttf.woff ]
39 ! [ -e $(ALL_SHARED)/search-index-xxx.js ]
40 ! [ -e $(ALL_SHARED)/settings.html ]
41 ! [ -e $(ALL_SHARED)/x ]
42 ! [ -e $(ALL_SHARED)/src ]
43 ! [ -e $(ALL_SHARED)/theme.css ]
45 [ -e $(ALL_SHARED)/main-xxx.js ]
46 ! [ -e $(ALL_SHARED)/y-xxx.css ]