diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-01-03 11:04:52 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-01-10 22:30:41 +0100 |
commit | fd2af69e600fdf0e06c996df607d560b222f7a38 (patch) | |
tree | 956d894f16839df1c0ae39d06aabf5cd7b149e48 /doc | |
parent | d5c8289f1e39397fcf562fa750719e9e86569041 (diff) |
doc/manual: Move the html files back where they were before
... before the link checking "output" was added, bumping the
html output into a subdirectory.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/local.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/manual/local.mk b/doc/manual/local.mk index fdcd131de..7639f510a 100644 --- a/doc/manual/local.mk +++ b/doc/manual/local.mk @@ -108,7 +108,10 @@ doc/manual/generated/man1/nix3-manpages: $(d)/src/command-ref/new-cli $(docdir)/manual/index.html: $(MANUAL_SRCS) $(d)/book.toml $(d)/anchors.jq $(d)/custom.css $(d)/src/SUMMARY.md $(d)/src/command-ref/new-cli $(d)/src/command-ref/conf-file.md $(d)/src/language/builtins.md $(trace-gen) \ set -euo pipefail; \ - RUST_LOG=warn mdbook build doc/manual -d $(DESTDIR)$(docdir)/manual 2>&1 \ + RUST_LOG=warn mdbook build doc/manual -d $(DESTDIR)$(docdir)/manual.tmp 2>&1 \ | { grep -Fv "because fragment resolution isn't implemented" || :; } + @rm -rf $(DESTDIR)$(docdir)/manual + @mv $(DESTDIR)$(docdir)/manual.tmp/html $(DESTDIR)$(docdir)/manual + @rm -rf $(DESTDIR)$(docdir)/manual.tmp endif |