diff -u ghc6-6.6.1/debian/rules ghc6-6.6.1/debian/rules --- ghc6-6.6.1/debian/rules +++ ghc6-6.6.1/debian/rules @@ -137,6 +137,7 @@ ProjectVersion=$(ProjectVersion) $(MAKE) -f debian/scripts.mk all for m in ghci6 ghc-$(ProjectVersion) ghci-$(ProjectVersion); do echo ".so man1/ghc6.1" > debian/$$m.1; done mv debian/tmp/usr/man/man1/ghc.1 debian/ghc6.1 + mv debian/runghc.man debian/runghc.1 cp utils/hp2ps/hp2ps.1 debian/hp2ps-ghc6.1 echo debian/*.1 > debian/ghc6.manpages diff -u ghc6-6.6.1/debian/changelog ghc6-6.6.1/debian/changelog --- ghc6-6.6.1/debian/changelog +++ ghc6-6.6.1/debian/changelog @@ -1,3 +1,10 @@ +ghc6 (6.6.1-2ubuntu3) hardy; urgency=low + + * manpage entry for runghc added (Closes LP: #95985). + * modified debian/rules to include runghc.man in the manpages section. + + -- Efrain Valles Pulgar (effie_jayx) Thu, 29 Nov 2007 10:22:17 -0400 + ghc6 (6.6.1-2ubuntu2) gutsy; urgency=low * Move "SplitObjs=NO" out of the arch conditional, to make gcc-4.2 only in patch2: unchanged: --- ghc6-6.6.1.orig/debian/runghc.man +++ ghc6-6.6.1/debian/runghc.man @@ -0,0 +1,45 @@ +.TH RUNGHC 1 "28 NOVEMBER 2007" +.SH NAME +runghc \- program to run Haskell programs without first having to compile them. +.SH SYNOPSIS +.B runghc +.RI +[runghc|flags] [GHC|flags] module [program|flags]... +.br +.SH DESCRIPTION +.B runghc +is considered a non-interactive interpreter and part of The Glasgow Haskell Compiler. +.B runghc +is a compiler that automatically runs its results at the end. +.PP +.SH OPTIONS +.TP +the flags are: +.TP +.B \-f +it tells runghc which GHC to use to run the program. If it is not given then runghc will search for GHC in the directories in the system search path. runghc -f /path/to/ghc +.TP +.B \-- +runghc will try to work out where the boundaries between [runghc flags] and [GHC flags], and [GHC flags] and module are, but you can use a -- flag if it doesn't get it right. For example, runghc -- -fglasgow-exts Foo +means runghc won't try to use glasgow-exts as the path to GHC, but instead will pass the flag to GHC. + +.SH EXAMPLES +.TP +.B runghc foo +.PP +.B runghc -f /path/to/ghc foo +.TP +.B runghc -- -fglasgow-exts Foo + +.SH SEE ALSO +.BR ghc (1), +.BR ghci (1). +.br + +.SH COPYRIGHT +Copyright 2002, The University Court of the University of Glasgow. All rights reserved. + +.SH AUTHOR +This manual page was written by Efrain Valles Pulgar . This is free documentation; see the GNU +General Public Licence version 2 or later for copying conditions. There is NO WARRANTY. +