diff options
author | John Ericson <git@JohnEricson.me> | 2019-03-25 02:28:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-25 02:28:44 -0400 |
commit | 748e5fc2ce7810b57e38f8c6e3ba5c5cd0d3b861 (patch) | |
tree | f40e38a892484aebbe2104dd3abe0856d30fd8d8 | |
parent | cf8ee4a6a32991c8d2f8a6268a6bd46a05acbe0a (diff) | |
parent | 3b27113a7c361cffebcf111b05f45e1b553cabbf (diff) |
Merge pull request #58223 from Ericson2314/manual-no-recursive-nix
manual: Make sure building doesn't need recursive nix
-rw-r--r-- | doc/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/Makefile b/doc/Makefile index cd6d7eb8d1c85..5badfe4138d43 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -78,15 +78,14 @@ manual-full.xml: ${MD_TARGETS} .version functions/library/locations.xml function nix-instantiate --eval \ -E '(import ../lib).version' > .version -function_locations := $(shell nix-build --no-out-link ./lib-function-locations.nix) - functions/library/locations.xml: - ln -s $(function_locations) ./functions/library/locations.xml + nix-build ./lib-function-locations.nix \ + --out-link $@ -functions/library/generated: +functions/library/generated: functions/library/locations.xml nix-build ./lib-function-docs.nix \ - --arg locationsXml $(function_locations)\ - --out-link ./functions/library/generated + --arg locationsXml $< \ + --out-link $@ %.section.xml: %.section.md pandoc $^ -w docbook+smart \ |