[Pkg-haskell-commits] darcs: haskell-devscripts: Support installing Cabal-built binaries: Put the name of the binary in debian/pkg.haskell-binaries to ship the binary in that package

Joachim Breitner mail at joachim-breitner.de
Sat Mar 16 22:41:58 UTC 2013


Sat Mar 16 22:41:14 UTC 2013  Joachim Breitner <mail at joachim-breitner.de>
  * Support installing Cabal-built binaries: Put the name of the binary in debian/pkg.haskell-binaries to ship the binary in that package
  Ignore-this: e9683c1a29f0ddefd1ea6e40b0dde8c3

    M ./debian/changelog +2
    M ./hlibrary.mk +6

Sat Mar 16 22:41:14 UTC 2013  Joachim Breitner <mail at joachim-breitner.de>
  * Support installing Cabal-built binaries: Put the name of the binary in debian/pkg.haskell-binaries to ship the binary in that package
  Ignore-this: e9683c1a29f0ddefd1ea6e40b0dde8c3
diff -rN -u old-haskell-devscripts//debian/changelog new-haskell-devscripts//debian/changelog
--- old-haskell-devscripts//debian/changelog	2013-03-16 22:41:58.770269852 +0000
+++ new-haskell-devscripts//debian/changelog	2013-03-16 22:41:58.775022079 +0000
@@ -4,6 +4,8 @@
     Clifford Beshers for the patch.
   * Use cdbsn' $(DEB_PACKAGES) instead of parsing debian/control to see if
     profiling is desired.
+  * Support installing Cabal-built binaries: Put the name of the binary in
+    debian/pkg.haskell-binaries to ship the binary in that package
 
  -- Joachim Breitner <nomeata at debian.org>  Sun, 27 Jan 2013 19:35:58 +0100
 
diff -rN -u old-haskell-devscripts//hlibrary.mk new-haskell-devscripts//hlibrary.mk
--- old-haskell-devscripts//hlibrary.mk	2013-03-16 22:41:58.754024388 +0000
+++ new-haskell-devscripts//hlibrary.mk	2013-03-16 22:41:58.791022680 +0000
@@ -186,3 +186,9 @@
 	rm -rf debian/libhugs-$(CABAL_PACKAGE)/usr/share/doc/*
 	dh_haskell_depends -p$(notdir $@)
 
+
+# Support for installing executables
+$(patsubst debian/%.haskell-binaries,install/%,$(wildcard debian/*.haskell-binaries)):: debian/tmp-inst-ghc
+	xargs --arg-file=debian/$(cdbs_curpkg).haskell-binaries \
+	      -I {binary} \
+	      dh_install -p$(cdbs_curpkg) dist-ghc/build/{binary}/{binary} usr/bin





More information about the Pkg-haskell-commits mailing list