@@ -139,21 +139,19 @@ singlehtml: $(GENERATED)
139
139
bikeshed : $(GENERATED )
140
140
$(SPHINXBUILD ) -b singlehtml -c util/bikeshed \
141
141
$(ALLSPHINXOPTS ) $(BUILDDIR ) /bikeshed_singlehtml
142
- @echo ==== Showing contents of _build/bikeshed_singlehtml/index.html ====
143
- @head -n20 _build/bikeshed_singlehtml/index.html
144
- @echo ...
145
- @echo ===================================================================
146
- python util/bikeshed_fixup.py $(BUILDDIR ) /bikeshed_singlehtml/index.html \
142
+ python3 util/bikeshed_fixup.py $(BUILDDIR ) /bikeshed_singlehtml/index.html \
147
143
> $(BUILDDIR ) /bikeshed_singlehtml/index_fixed.html
148
144
@echo ==== Showing contents of _build/bikeshed_singlehtml/index_fixed.html ====
149
- @head -n20 _build/bikeshed_singlehtml/index_fixed.html
150
- @echo ...
145
+ @head -n10 _build/bikeshed_singlehtml/index_fixed.html
146
+ @echo ... skipping $$(expr `cat _build/bikeshed_singlehtml/index_fixed.html | wc -l` - 20 ) lines ...
147
+ @tail -n10 _build/bikeshed_singlehtml/index_fixed.html
148
+ @echo
151
149
@echo =========================================================================
152
150
mkdir -p $(BUILDDIR ) /bikeshed_mathjax/
153
151
bikeshed spec index.bs $(BUILDDIR ) /bikeshed_mathjax/index.html
154
152
mkdir -p $(BUILDDIR ) /html/bikeshed/
155
153
(cd util/katex/ && yarn && yarn build && npm install --only=prod)
156
- python util/mathjax2katex.py $(BUILDDIR ) /bikeshed_mathjax/index.html \
154
+ python3 util/mathjax2katex.py $(BUILDDIR ) /bikeshed_mathjax/index.html \
157
155
> $(BUILDDIR ) /html/bikeshed/index.html
158
156
mkdir -p $(BUILDDIR ) /html/bikeshed/katex/dist/
159
157
cp -r util/katex/dist/* $(BUILDDIR ) /html/bikeshed/katex/dist/
0 commit comments