fix docs makefile (#10016)
This commit is contained in:
parent
e09f517094
commit
1e80044e93
|
@ -5,9 +5,10 @@ Install dependencies, build, and test the docs:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ brew install coreutils
|
$ brew install coreutils
|
||||||
$ cargo install svgbob_cli
|
|
||||||
$ brew install mscgen
|
$ brew install mscgen
|
||||||
$ brew install mdbook
|
$ cargo install svgbob_cli
|
||||||
|
$ cargo install mdbook-linkcheck
|
||||||
|
$ cargo install mdbook
|
||||||
$ ./build.sh
|
$ ./build.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@ TARGET=html/index.html
|
||||||
TEST_STAMP=src/tests.ok
|
TEST_STAMP=src/tests.ok
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
./set-solana-release-tag.sh
|
|
||||||
|
|
||||||
svg: $(SVG_IMGS)
|
svg: $(SVG_IMGS)
|
||||||
|
|
||||||
|
@ -16,6 +15,7 @@ test: $(TEST_STAMP)
|
||||||
|
|
||||||
open: $(TEST_STAMP)
|
open: $(TEST_STAMP)
|
||||||
mdbook build --open
|
mdbook build --open
|
||||||
|
./set-solana-release-tag.sh
|
||||||
|
|
||||||
watch: $(SVG_IMGS)
|
watch: $(SVG_IMGS)
|
||||||
mdbook watch
|
mdbook watch
|
||||||
|
@ -44,6 +44,7 @@ $(TEST_STAMP): $(TARGET)
|
||||||
|
|
||||||
$(TARGET): $(SVG_IMGS) $(MD_SRCS)
|
$(TARGET): $(SVG_IMGS) $(MD_SRCS)
|
||||||
mdbook build
|
mdbook build
|
||||||
|
./set-solana-release-tag.sh
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SVG_IMGS) src/tests.ok
|
rm -f $(SVG_IMGS) src/tests.ok
|
||||||
|
|
Loading…
Reference in New Issue