[Git][haskell-team/dh-haskell][history] Use new integrated install_recipe() from haskell-devscripts. (Closes: #865640)

Felix Lechner (@lechner) gitlab at salsa.debian.org
Mon Apr 11 14:34:19 BST 2022



Felix Lechner pushed to branch history at Debian Haskell Group / dh-haskell


Commits:
5c92bfbb by Felix Lechner at 2022-04-11T04:41:30-07:00
Use new integrated install_recipe() from haskell-devscripts. (Closes: #865640)

Adapted from the CDBS module hlibrary.mk from haskell-devscripts.

- - - - -


2 changed files:

- debian/control
- lib/Debian/Debhelper/Buildsystem/haskell.pm


Changes:

=====================================
debian/control
=====================================
@@ -20,7 +20,7 @@ Depends:
  ${perl:Depends},
  ${shlibs:Depends},
  debhelper (>= 9.20151220),
- haskell-devscripts (>= 0.16.3~),
+ haskell-devscripts (>= 0.16.6~),
  libconst-fast-perl,
  liblist-someutils-perl,
  libpath-tiny-perl


=====================================
lib/Debian/Debhelper/Buildsystem/haskell.pm
=====================================
@@ -59,8 +59,8 @@ use Debian::Debhelper::Buildsystem::Haskell::Recipes qw(
   build_recipe
   check_recipe
   haddock_recipe
+  install_recipe
   clean_recipe
-  packages_hc
 );
 
 const my $SPACE => q{ };
@@ -199,10 +199,7 @@ sub build {
 sub install {
     my ($self) = @_;
 
-    my $compiler = packages_hc();
-
-    run($ENV{DEB_SETUP_BIN_NAME},
-        'copy', "--builddir=dist-$compiler", '--destdir=debian/tmp');
+    install_recipe('debian/tmp');
 
     return;
 }



View it on GitLab: https://salsa.debian.org/haskell-team/dh-haskell/-/commit/5c92bfbb485ced17e20aa060ea9f01e11d54a334

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/dh-haskell/-/commit/5c92bfbb485ced17e20aa060ea9f01e11d54a334
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20220411/6af79ca7/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list