Skip to content

Commit

Permalink
doc: speed "noop" compilation times by not force-building markdown an…
Browse files Browse the repository at this point in the history
…d man pages every time.

Their dependencies seem correct, so we shouldn't have to build them every time.

Before:
```shell
$ time make -s
real	0m5.183s
user	0m5.134s
sys	0m11.715s
```

After:

```shell
$ time make -s
real	0m0.784s
user	0m0.775s
sys	0m1.159s
```

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell authored and vincenzopalazzo committed Jul 2, 2024
1 parent 62e82c2 commit d6ae456
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,6 @@ endif
$(MANPAGES): doc/%: doc/%.md tools/md2man.sh version_gen.h
@VERSION=$(VERSION) tools/md2man.sh $(LOWDOWN) $< > $@

$(MANPAGES): $(FORCE)
$(MARKDOWN_WITH_SCHEMA): $(FORCE)

doc/protocol-%.svg: test/test_protocol
test/test_protocol --svg < test/commits/$*.script > $@

Expand Down

0 comments on commit d6ae456

Please sign in to comment.