Commit d4f7159a authored by Joachim Breitner's avatar Joachim Breitner

hscolour: ghc6 → ghc

parent db17ddac
......@@ -7,8 +7,9 @@ hscolour (1.17-1) unstable; urgency=low
[ Joachim Breitner ]
* Remove doc-base file per Haskell policy
* ghc6 → ghc
-- Erik de Castro Lopo <erikd@mega-nerd.com> Thu, 22 Jul 2010 21:27:22 +1000
-- Joachim Breitner <nomeata@debian.org> Wed, 13 Apr 2011 12:04:52 +0530
hscolour (1.16-1) unstable; urgency=low
......
......@@ -5,10 +5,10 @@ Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.or
Uploaders: Erik de Castro Lopo <erikd@mega-nerd.com>
Build-Depends: debhelper (>= 7),
cdbs,
haskell-devscripts (>= 0.7),
ghc6,
ghc6-prof
Build-Depends-Indep: ghc6-doc
haskell-devscripts (>= 0.8),
ghc,
ghc-prof
Build-Depends-Indep: ghc-doc
Standards-Version: 3.9.0
Homepage: http://hackage.haskell.org/package/hscolour
Vcs-Darcs: http://darcs.debian.org/pkg-haskell/hscolour
......@@ -23,7 +23,7 @@ Description: Haskell program to colourise Haskell code
with <font> tags, HTML 4.01 with CSS, LaTeX, and mIRC chat client
codes.
Package: libghc6-hscolour-dev
Package: libghc-hscolour-dev
Architecture: any
Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends}
Suggests: ${haskell:Suggests}, drift (>= 2.2.0)
......@@ -35,9 +35,9 @@ Description: GHC6 libraries for colourising Haskell code
with <font> tags, HTML 4.01 with CSS, LaTeX, and mIRC chat client
codes.
.
This package contains the libraries compiled for GHC 6.
This package contains the libraries compiled for GHC.
Package: libghc6-hscolour-prof
Package: libghc-hscolour-prof
Architecture: any
Depends: ${haskell:Depends}, ${misc:Depends}
Suggests: ${haskell:Suggests}
......@@ -49,15 +49,15 @@ Description: Profiling libraries for colourising Haskell code
with <font> tags, HTML 4.01 with CSS, LaTeX, and mIRC chat client
codes.
.
This package contains the profiling libraries compiled for GHC 6.
This package contains the profiling libraries compiled for GHC.
Package: libghc6-hscolour-doc
Package: libghc-hscolour-doc
Architecture: all
Section: doc
Depends: ${misc:Depends}, ${haskell:Depends}
Recommends: ${haskell:Recommends}
Suggests: ${haskell:Suggests}
Description: Documentation for libghc6-hscolour-dev
Description: Documentation for libghc-hscolour-dev
.
HsColour currently has five output formats: ANSI terminal codes, HTML 3.2
with <font> tags, HTML 4.01 with CSS, LaTeX, and mIRC chat client
......
......@@ -5,8 +5,8 @@
# If the real HsColour exists, run it.
if test -x dist/build/HsColour/HsColour ; then
exec dist/build/HsColour/HsColour "$@"
elif test -x dist-ghc6/build/HsColour/HsColour ; then
exec dist-ghc6/build/HsColour/HsColour "$@"
elif test -x dist-ghc/build/HsColour/HsColour ; then
exec dist-ghc/build/HsColour/HsColour "$@"
fi
# If the real HsColour doesn't exist, at least do something sensible when
......
dist-ghc6/build/HsColour/HsColour usr/bin
dist-ghc/build/HsColour/HsColour usr/bin
......@@ -6,15 +6,15 @@ include /usr/share/cdbs/1/class/hlibrary.mk
DEB_BUILD_DEPENDENCIES = build-arch
# In order to generated colourised HTML for the libghc6-hscolour-doc package
# In order to generated colourised HTML for the libghc-hscolour-doc package
# we need a special hack because the colour docs are generated by an executable
# create by this package and we don't want this package to depend on itself.
pwd := $(shell pwd)
# Modify the GHC6 configure parameters to point to a local version of
# Modify the GHC configure parameters to point to a local version of
# HsColour.
DEB_SETUP_GHC6_CONFIGURE_ARGS += --with-hscolour=$(pwd)/hscolour-wrapper
DEB_SETUP_GHC_CONFIGURE_ARGS += --with-hscolour=$(pwd)/hscolour-wrapper
# Generate a fake version of the executable (a trivial shell script) which is
# available at configure time. This shell script will exec the real HsColour
......@@ -26,7 +26,7 @@ hscolour-wrapper : debian/hscolour-wrapper
chmod u+x $@
# Force generation of the wrapper script.
dist-ghc6 : hscolour-wrapper
dist-ghc : hscolour-wrapper
clean ::
rm -f hscolour-wrapper
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment