summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorAdam Sandberg Ericsson <adam@sandbergericsson.se>2020-12-11 17:08:13 +0000
committerAdam Sandberg Ericsson <adam@sandbergericsson.se>2020-12-12 10:52:19 +0000
commite033dd0512443140dcca5b3c90b84022d8caf942 (patch)
tree97174438eff0f731eeeef8c1663da0ab31242d1e /distrib
parentc647763954717d9853d08ff04eece7f1ddeae15c (diff)
downloadhaskell-e033dd0512443140dcca5b3c90b84022d8caf942.tar.gz
mkDocs: support hadrian bindists #18973
Diffstat (limited to 'distrib')
-rwxr-xr-xdistrib/mkDocs/mkDocs4
1 files changed, 3 insertions, 1 deletions
diff --git a/distrib/mkDocs/mkDocs b/distrib/mkDocs/mkDocs
index d185b43e61..3cbfec5695 100755
--- a/distrib/mkDocs/mkDocs
+++ b/distrib/mkDocs/mkDocs
@@ -31,7 +31,9 @@ cd ..
tar -Jxf "$WINDOWS_BINDIST"
mv ghc* windows
cd inst/share/doc/ghc*/html/libraries
-mv ../../../../../../windows/doc/html/libraries/Win32-* .
+mv ../../../../../../windows/doc/html/libraries/Win32-* . || \ # make binary distribution
+ mv ../../../../../../windows/docs/html/libraries/Win32 . || \ # hadrian binary distribution
+ die "failed to find the Win32 package documentation"
sh gen_contents_index
cd ..
for i in haddock libraries users_guide