[Pkg-haskell-commits] r857 - in /packages/haskell-devscripts/trunk: dh_haskell_build dh_haskell_install dh_haskell_prep

arjan at users.alioth.debian.org arjan at users.alioth.debian.org
Sun Dec 30 18:11:32 UTC 2007


Author: arjan
Date: Sun Dec 30 18:11:32 2007
New Revision: 857

URL: http://svn.debian.org/wsvn/pkg-haskell/?sc=1&rev=857
Log:
[project @ Make some cosmetic changes to the POD source of the man page(s) and]
remove the unused and duplicate POD sources from dh_haskell_prep and
dh_haskell_install

Original author: Arjan Oosting <arjanoosting at home.nl>
Date: 2007-09-23 17:34:25+00:00

Modified:
    packages/haskell-devscripts/trunk/dh_haskell_build
    packages/haskell-devscripts/trunk/dh_haskell_install
    packages/haskell-devscripts/trunk/dh_haskell_prep

Modified: packages/haskell-devscripts/trunk/dh_haskell_build
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-devscripts/trunk/dh_haskell_build?rev=857&op=diff
==============================================================================
--- packages/haskell-devscripts/trunk/dh_haskell_build (original)
+++ packages/haskell-devscripts/trunk/dh_haskell_build Sun Dec 30 18:11:32 2007
@@ -34,9 +34,13 @@
 =head1 SYNOPSIS
 
 B<dh_haskell> [S<I<debhelper options>>]
+
 B<dh_haskell_prep> [S<I<debhelper options>>]
+
 B<dh_haskell_build> [S<I<debhelper options>>]
+
 B<dh_haskell_install> [S<I<debhelper options>>]
+
 B<dh_haskell_buildinst> [S<I<debhelper options>>]
 
 =head1 DESCRIPTION

Modified: packages/haskell-devscripts/trunk/dh_haskell_install
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-devscripts/trunk/dh_haskell_install?rev=857&op=diff
==============================================================================
--- packages/haskell-devscripts/trunk/dh_haskell_install (original)
+++ packages/haskell-devscripts/trunk/dh_haskell_install Sun Dec 30 18:11:32 2007
@@ -18,90 +18,12 @@
 #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #
 
-=head1 NAME
-
-dh_haskell - Builds Cabalized libraries, calculates Haskell dependencies, and adds postinst and prerm Haskell scripts
-
-=cut
-
 use strict;
 use File::Find;
 use Debian::Debhelper::Dh_Lib;
 
 use lib '/usr/share/haskell-devscripts/';
 use Dh_Haskell;
-
-=head1 SYNOPSIS
-
-B<dh_haskell> [S<I<debhelper options>>] 
-
-=head1 DESCRIPTION
-
-dh_haskell is a debhelper program that helps with building Haskell libraries.
-
-It does several things.  It can generate postinst and prerm scripts when
-necessary.  It automates building libraries for the different supported
-Haskell systems in Debian.  It generates substvars for your control
-file so that the library packages depend on the appropriate packages.
-In short, it can drive the entire process.
-
-=head1 REQUIREMENTS
-
-dh_haskell assumes that your packages are adhering to the draft Haskell policy.
-
-Your control file must build the binary library files using packages
-named libI<type>-I<name>-I<variation>, where I<type> is ghc5, ghc6, or
-nhc98; I<name> is the name of your package; and I<variation> is dev or
-prof. These packages should be Architecture: any.
-
-The I<prof> package contains profiling enabled libraries. Currently
-only GHC supports profiling. Due to restrictions of the GHC compiler,
-if you provide a I<dev> package you should also provide a
-corresponding I<prof> package.
-
-If you build a Hugs package, name it libhugs-I<name>.  However, dh_haskell
-will also accept libhugs-I<name>-dev for consistency.  Most Hugs packages
-should be Architecture: all.  If your package uses foreign methods,
-maybe it should be Architecture: any (please let me know if you have
-an answer to that).
-
-dh_haskell figures out how to build your package based on the I<type>,
-so you must adhere to this naming scheme.
-
-dh_haskell assumes that the Haskell Cabal (see www.haskell.org/cabal) can
-be used to build your package.  It obtains package name and version
-information from the Cabal Setup.Description file.
-
-=head1 HOW TO PACKAGE A HASKELL LIBRARY
-
-Start from a basic debian/ directory.  Add entries to Build-Depends for
-haskell-devscripts and the compilers for any binaries you will build.
-
-In the clause in control for each binary package, make sure to add
-${haskell:Depends} to the Depends: line.
-
-In rules, in the install target, add dh_haskell.  Your build and configure
-targets should be empty.
-
-Remember that you should add -a to all debhelper calls for multi-binary
-packages.  That goes for dh_haskell too.
-
-Your clean target should contain:
-
-C<-./setup clean>
-C<--rm -rf setup Setup.hi Setup.ho Setup.o .*config* dist>
-
-That's it.  dh_haskell does the rest.
-
-=head1 EXAMPLES
-
-See the Debian source package for hunit.
-
-also see:
-
-darcs get --partial http://www.n-heptane.com/nhlab/repos/cabalDebianTemplate/
-
-=cut
 
 init();
 
@@ -141,21 +63,3 @@
         }
     }
 }
-
-=head1 BUGS
-
-hugs, ghc6, and ghc5 are the only supported targets at the moment.  Cabal does
-not yet support nhc98.  Note though that there are some known bugs in
-Cabal relating to ghc5 support.
-
-=head1 SEE ALSO
-
-L<debhelper(7)>
-
-=head1 AUTHOR
-
-John Goerzen <jgoerzen at complete.org>
-
-Based on ideas in dh_python by Josselin Mouette <joss at debian.org>
-
-=cut

Modified: packages/haskell-devscripts/trunk/dh_haskell_prep
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-devscripts/trunk/dh_haskell_prep?rev=857&op=diff
==============================================================================
--- packages/haskell-devscripts/trunk/dh_haskell_prep (original)
+++ packages/haskell-devscripts/trunk/dh_haskell_prep Sun Dec 30 18:11:32 2007
@@ -18,90 +18,12 @@
 #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #
 
-=head1 NAME
-
-dh_haskell - Builds Cabalized libraries, calculates Haskell dependencies, and adds postinst and prerm Haskell scripts
-
-=cut
-
 use strict;
 use File::Find;
 use Debian::Debhelper::Dh_Lib;
 
 use lib '/usr/share/haskell-devscripts/';
 use Dh_Haskell;
-
-=head1 SYNOPSIS
-
-B<dh_haskell> [S<I<debhelper options>>] 
-
-=head1 DESCRIPTION
-
-dh_haskell is a debhelper program that helps with building Haskell libraries.
-
-It does several things.  It can generate postinst and prerm scripts when
-necessary.  It automates building libraries for the different supported
-Haskell systems in Debian.  It generates substvars for your control
-file so that the library packages depend on the appropriate packages.
-In short, it can drive the entire process.
-
-=head1 REQUIREMENTS
-
-dh_haskell assumes that your packages are adhering to the draft Haskell policy.
-
-Your control file must build the binary library files using packages
-named libI<type>-I<name>-I<variation>, where I<type> is ghc5, ghc6, or
-nhc98; I<name> is the name of your package; and I<variation> is dev or
-prof. These packages should be Architecture: any.
-
-The I<prof> package contains profiling enabled libraries. Currently
-only GHC supports profiling. Due to restrictions of the GHC compiler,
-if you provide a I<dev> package you should also provide a
-corresponding I<prof> package.
-
-If you build a Hugs package, name it libhugs-I<name>.  However, dh_haskell
-will also accept libhugs-I<name>-dev for consistency.  Most Hugs packages
-should be Architecture: all.  If your package uses foreign methods,
-maybe it should be Architecture: any (please let me know if you have
-an answer to that).
-
-dh_haskell figures out how to build your package based on the I<type>,
-so you must adhere to this naming scheme.
-
-dh_haskell assumes that the Haskell Cabal (see www.haskell.org/cabal) can
-be used to build your package.  It obtains package name and version
-information from the Cabal Setup.Description file.
-
-=head1 HOW TO PACKAGE A HASKELL LIBRARY
-
-Start from a basic debian/ directory.  Add entries to Build-Depends for
-haskell-devscripts and the compilers for any binaries you will build.
-
-In the clause in control for each binary package, make sure to add
-${haskell:Depends} to the Depends: line.
-
-In rules, in the install target, add dh_haskell.  Your build and configure
-targets should be empty.
-
-Remember that you should add -a to all debhelper calls for multi-binary
-packages.  That goes for dh_haskell too.
-
-Your clean target should contain:
-
-C<-./setup clean>
-C<--rm -rf setup Setup.hi Setup.ho Setup.o .*config* dist>
-
-That's it.  dh_haskell does the rest.
-
-=head1 EXAMPLES
-
-See the Debian source package for hunit.
-
-also see:
-
-darcs get --partial http://www.n-heptane.com/nhlab/repos/cabalDebianTemplate/
-
-=cut
 
 init();
 
@@ -159,21 +81,3 @@
 	    }
 	}
 }
-
-=head1 BUGS
-
-hugs, ghc6, and ghc5 are the only supported targets at the moment.  Cabal does
-not yet support nhc98.  Note though that there are some known bugs in
-Cabal relating to ghc5 support.
-
-=head1 SEE ALSO
-
-L<debhelper(7)>
-
-=head1 AUTHOR
-
-John Goerzen <jgoerzen at complete.org>
-
-Based on ideas in dh_python by Josselin Mouette <joss at debian.org>
-
-=cut




More information about the Pkg-haskell-commits mailing list