@@ -7,30 +7,40 @@ ALL_SHARED = $(TMPDIR)/all-shared
77all : invocation-only toolchain-only all-shared
88
99invocation-only :
10- $(RUSTDOC ) -Z unstable-options --emit=invocation-specific --output $(INVOCATION_ONLY ) --resource-suffix=-xxx --theme y.css x.rs
10+ $(RUSTDOC ) -Z unstable-options --emit=invocation-specific --output $(INVOCATION_ONLY ) --resource-suffix=-xxx --theme y.css --extend-css z.css x.rs
1111 [ -e $( INVOCATION_ONLY) /search-index-xxx.js ]
1212 [ -e $( INVOCATION_ONLY) /settings.html ]
1313 [ -e $( INVOCATION_ONLY) /x/all.html ]
1414 [ -e $( INVOCATION_ONLY) /x/index.html ]
15- # FIXME: this probably shouldn't have a suffix
16- [ -e $( INVOCATION_ONLY) /y-xxx.css ]
15+ [ -e $( INVOCATION_ONLY) /theme-xxx.css ] # generated from z.css
1716 ! [ -e $( INVOCATION_ONLY) /storage-xxx.js ]
1817 ! [ -e $( INVOCATION_ONLY) /SourceSerifPro-It.ttf.woff ]
1918
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 ]
23+
2024toolchain-only :
21- $(RUSTDOC ) -Z unstable-options --emit=toolchain-shared-resources --output $(TOOLCHAIN_ONLY ) --resource-suffix=-xxx x.rs
25+ $(RUSTDOC ) -Z unstable-options --emit=toolchain-shared-resources --output $(TOOLCHAIN_ONLY ) --resource-suffix=-xxx --extend-css z.css x.rs
2226 [ -e $( TOOLCHAIN_ONLY) /storage-xxx.js ]
23- ! [ -e $( TOOLCHAIN_ONLY) /y-xxx.css ]
2427 ! [ -e $( TOOLCHAIN_ONLY) /SourceSerifPro-It.ttf.woff ]
2528 ! [ -e $( TOOLCHAIN_ONLY) /search-index-xxx.js ]
2629 ! [ -e $( TOOLCHAIN_ONLY) /x/index.html ]
30+ ! [ -e $( TOOLCHAIN_ONLY) /theme.css ]
31+
32+ [ -e $(TOOLCHAIN_ONLY)/main-xxx.js ]
33+ ! [ -e $(TOOLCHAIN_ONLY)/y-xxx.css ]
2734
2835all-shared :
29- $(RUSTDOC ) -Z unstable-options --emit=toolchain-shared-resources,unversioned-shared-resources --output $(ALL_SHARED ) --resource-suffix=-xxx x.rs
36+ $(RUSTDOC ) -Z unstable-options --emit=toolchain-shared-resources,unversioned-shared-resources --output $(ALL_SHARED ) --resource-suffix=-xxx --extend-css z.css x.rs
3037 [ -e $( ALL_SHARED) /storage-xxx.js ]
3138 [ -e $( ALL_SHARED) /SourceSerifPro-It.ttf.woff ]
32- ! [ -e $( ALL_SHARED) /y-xxx.css ]
3339 ! [ -e $( ALL_SHARED) /search-index-xxx.js ]
3440 ! [ -e $( ALL_SHARED) /settings.html ]
3541 ! [ -e $( ALL_SHARED) /x ]
3642 ! [ -e $( ALL_SHARED) /src ]
43+ ! [ -e $( ALL_SHARED) /theme.css ]
44+
45+ [ -e $(ALL_SHARED)/main-xxx.js ]
46+ ! [ -e $(ALL_SHARED)/y-xxx.css ]
0 commit comments