Generating docs

2002-09-25 Thread Ralf Hinze

What is the approved way of generating and installing docs?
I tried (from source)

./configure ...
make all
make install
make html
make dvi
make ps
make install-docs

The latter command fails with (as usual with a bit of German :-)

---

==fptools== make install-docs -wr;
 in /home/ralf/tmp/ghc-5.04.1/libraries/base

t Haskell Core Libraries (base package) --no-implicit-prelude -p prologue.txt-h 
-o html Control/Arrow.raw-hs Control/Concurrent.raw-hs Control/Concurrent/Chan.raw-hs 
Control/Concurrent/MVar.raw-hs Control/Concurrent/QSem.raw-hs 
Control/Concurrent/QSemN.raw-hs Control/Concurrent/SampleVar.raw-hs 
Control/Exception.raw-hs Control/Monad.raw-hs Control/Monad/Cont.raw-hs 
Control/Monad/Error.raw-hs Control/Monad/Fix.raw-hs Control/Monad/Identity.raw-hs 
Control/Monad/List.raw-hs Control/Monad/Monoid.raw-hs Control/Monad/RWS.raw-hs 
Control/Monad/Reader.raw-hs Control/Monad/ST.raw-hs Control/Monad/ST/Lazy.raw-hs 
Control/Monad/ST/Strict.raw-hs Control/Monad/State.raw-hs Control/Monad/Trans.raw-hs 
Control/Monad/Writer.raw-hs Control/Parallel.raw-hs Data/Array.raw-hs 
Data/Array/Base.raw-hs Data/Array/Diff.raw-hs Data/Array/IArray.raw-hs 
Data/Array/IO.raw-hs Data/Array/MArray.raw-hs Data/Array/ST.raw-hs 
Data/Array/Storable.raw-hs Data/Array/Unboxed.raw-hs Data/Bits.raw-hs Data/Bool.raw-hs 
Data/Char.raw-hs Data/Complex.raw-hs Data/Dynamic.raw-hs Data/Either.raw-hs 
Data/FiniteMap.raw-hs Data/IORef.raw-hs Data/Int.raw-hs Data/Ix.raw-hs 
Data/List.raw-hs Data/Maybe.raw-hs Data/PackedString.raw-hs Data/Ratio.raw-hs 
Data/STRef.raw-hs Data/STRef/Lazy.raw-hs Data/STRef/Strict.raw-hs Data/Set.raw-hs 
Data/Tuple.raw-hs Data/Unique.raw-hs Data/Word.raw-hs Debug/QuickCheck.raw-hs 
Debug/QuickCheck/Batch.raw-hs Debug/QuickCheck/Poly.raw-hs 
Debug/QuickCheck/Utils.raw-hs Debug/Trace.raw-hs Foreign.raw-hs Foreign/C.raw-hs 
Foreign/C/Error.raw-hs Foreign/C/String.raw-hs Foreign/C/Types.raw-hs 
Foreign/C/TypesISO.raw-hs Foreign/ForeignPtr.raw-hs Foreign/Marshal/Alloc.raw-hs 
Foreign/Marshal/Array.raw-hs Foreign/Marshal/Error.raw-hs Foreign/Marshal/Utils.raw-hs 
Foreign/Ptr.raw-hs Foreign/StablePtr.raw-hs Foreign/Storable.raw-hs GHC/Arr.raw-hs 
GHC/Base.raw-hs GHC/Conc.raw-hs GHC/Enum.raw-hs GHC/Err.raw-hs GHC/Exception.raw-hs 
GHC/Exts.raw-hs GHC/Float.raw-hs GHC/Handle.raw-hs GHC/IO.raw-hs GHC/IOBase.raw-hs 
GHC/Int.raw-hs GHC/List.raw-hs GHC/Num.raw-hs GHC/Pack.raw-hs GHC/Posix.raw-hs 
GHC/PrimopWrappers.raw-hs GHC/Ptr.raw-hs GHC/Read.raw-hs GHC/Real.raw-hs GHC/ST.raw-hs 
GHC/STRef.raw-hs GHC/Show.raw-hs GHC/Stable.raw-hs GHC/Storable.raw-hs 
GHC/TopHandler.raw-hs GHC/Weak.raw-hs GHC/Word.raw-hs Numeric.raw-hs Prelude.raw-hs 
System/CPUTime.raw-hs System/Cmd.raw-hs System/Console/GetOpt.raw-hs 
System/Directory.raw-hs System/Environment.raw-hs System/Exit.raw-hs System/IO.raw-hs 
System/IO/Error.raw-hs System/IO/Unsafe.raw-hs System/Info.raw-hs System/Locale.raw-hs 
System/Mem.raw-hs System/Mem/StableName.raw-hs System/Mem/Weak.raw-hs 
System/Random.raw-hs System/Time.raw-hs Text/Html.raw-hs Text/Html/BlockTable.raw-hs 
Text/ParserCombinators/Parsec.raw-hs Text/ParserCombinators/Parsec/Char.raw-hs 
Text/ParserCombinators/Parsec/Combinator.raw-hs 
Text/ParserCombinators/Parsec/Error.raw-hs Text/ParserCombinators/Parsec/Expr.raw-hs 
Text/ParserCombinators/Parsec/Language.raw-hs 
Text/ParserCombinators/Parsec/Perm.raw-hs Text/ParserCombinators/Parsec/Pos.raw-hs 
Text/ParserCombinators/Parsec/Prim.raw-hs Text/ParserCombinators/Parsec/Token.raw-hs 
Text/ParserCombinators/ReadP.raw-hs Text/ParserCombinators/ReadPrec.raw-hs 
Text/PrettyPrint.raw-hs Text/PrettyPrint/HughesPJ.raw-hs Text/Read.raw-hs 
Text/Read/Lex.raw-hs Text/Regex.raw-hs Text/Regex/Posix.raw-hs Text/Show.raw-hs 
Text/Show/Functions.raw-hs \
--dump-interface=base.haddock \

/bin/sh: t: command not found
make[2]: [html/index.html] Fehler 127 (ignoriert)
/bin/install -c -m 644 -g users html/* /home/ralf/tmp/share/ghc-5.04.1/html/base
/bin/install: Aufruf von stat für »html/*« nicht möglich: Datei oder Verzeichnis nicht 
gefunden
make[2]: *** [install-docs] Fehler 1
make[1]: *** [install-docs] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/home/ralf/tmp/ghc-5.04.1/libraries«
make: *** [install-docs] Fehler 1

---

It seems that the call is a bit truncated.

Cheers, Ralf
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



RE: Generating docs

2002-09-25 Thread Simon Marlow

 What is the approved way of generating and installing docs?
 I tried (from source)
 
 ./configure ...
 make all
 make install
 make html
 make dvi
 make ps
 make install-docs
 
 The latter command fails with (as usual with a bit of German :-)

Do you have Haddock installed?  Did the configure script detect it?

Cheers,
Simon
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



Re: Generating docs

2002-09-25 Thread Ralf Hinze

  What is the approved way of generating and installing docs?
  I tried (from source)
 
  ./configure ...
  make all
  make install
  make html
  make dvi
  make ps
  make install-docs
 
  The latter command fails with (as usual with a bit of German :-)

 Do you have Haddock installed?  Did the configure script detect it?

 Cheers,
   Simon

No, of course not. Thanks.

BTW, why did you separate Haddock from GHC? I love these vicious
circles: to build GHC with docs you need Haddock, to build Haddock
you need GHC ...

Cheers, Ralf
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



RE: Generating docs

2002-09-25 Thread Simon Marlow

 BTW, why did you separate Haddock from GHC? I love these vicious
 circles: to build GHC with docs you need Haddock, to build Haddock
 you need GHC ...

You can either use an installed Haddock, or use Haddock from the same
tree (./configure --enable-src-tree-haddock).

It's not really a cyclic dependency: Haddock isn't required to build GHC
itself, so you can build GHC, use it to build Haddock, and then build
GHC's docs.

Cheers,
Simon
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs