[Pkg-haskell-commits] darcs: haskell-devscripts: Use Makefile syntax to loop over binaries, not xargs

Joachim Breitner mail at joachim-breitner.de
Sat May 11 12:38:50 UTC 2013


Fri Mar 22 22:29:44 UTC 2013  Joachim Breitner <mail at joachim-breitner.de>
  * Use Makefile syntax to loop over binaries, not xargs
  Ignore-this: f4f4930a68a6cf180b601bc79be97fab

    M ./hlibrary.mk -3 +5

Fri Mar 22 22:29:44 UTC 2013  Joachim Breitner <mail at joachim-breitner.de>
  * Use Makefile syntax to loop over binaries, not xargs
  Ignore-this: f4f4930a68a6cf180b601bc79be97fab
diff -rN -u old-haskell-devscripts//hlibrary.mk new-haskell-devscripts//hlibrary.mk
--- old-haskell-devscripts//hlibrary.mk	2013-05-11 12:38:49.887355983 +0000
+++ new-haskell-devscripts//hlibrary.mk	2013-05-11 12:38:49.939050570 +0000
@@ -188,7 +188,9 @@
 
 
 # Support for installing executables
+define newline
+
+
+endef
 $(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
+	$(foreach binary,$(shell cat debian/$(cdbs_curpkg).haskell-binaries),dh_install -p$(cdbs_curpkg) dist-ghc/build/$(binary)/$(binary) usr/bin $(newline))





More information about the Pkg-haskell-commits mailing list